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

Unified Diff: src/v8-counters.h

Issue 2423: POD initialize StatsCounters (Closed)
Patch Set: Merge to HEAD Created 12 years, 3 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 | « src/counters.cc ('k') | src/v8-counters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8-counters.h
diff --git a/src/v8-counters.h b/src/v8-counters.h
index bd1f035079f571b6e9173ff9a0c1bd4237324cd4..9819cdc696776ee8e7fa37068ffde39c8ac02390 100644
--- a/src/v8-counters.h
+++ b/src/v8-counters.h
@@ -122,11 +122,13 @@ namespace v8 { namespace internal {
// This file contains all the v8 counters that are in use.
class Counters : AllStatic {
public:
-#define SR(name, caption) static StatsRate name;
+#define SR(name, caption) \
+ static StatsRate name;
STATS_RATE_LIST(SR)
#undef SR
-#define SC(name, caption) static StatsCounter name;
+#define SC(name, caption) \
+ static StatsCounter name;
STATS_COUNTER_LIST_1(SC)
STATS_COUNTER_LIST_2(SC)
#undef SC
« no previous file with comments | « src/counters.cc ('k') | src/v8-counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698