Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: runtime/vm/dart.cc

Issue 464953002: Add VMMetric and some sample metrics (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/vmservice/observatory/test/vm_metrics_test.dart ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index d5a174054007b4d55c76e44e9236c6b8a8ed2d15..14452bb0196766ae622f2085d4de3a981233e556 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -13,6 +13,7 @@
#include "vm/handles.h"
#include "vm/heap.h"
#include "vm/isolate.h"
+#include "vm/metrics.h"
#include "vm/object.h"
#include "vm/object_store.h"
#include "vm/object_id_ring.h"
@@ -108,6 +109,7 @@ const char* Dart::InitOnce(Dart_IsolateCreateCallback create,
ThreadInterrupter::InitOnce();
Profiler::InitOnce();
SemiSpace::InitOnce();
+ Metric::InitOnce();
#if defined(USING_SIMULATOR)
Simulator::InitOnce();
« no previous file with comments | « runtime/bin/vmservice/observatory/test/vm_metrics_test.dart ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698