Index: src/v8-counters.cc |
diff --git a/src/v8-counters.cc b/src/v8-counters.cc |
index f17aacc21a264a2dbb38117486b747cbd816286a..b5a40b57cc3676e9cf33430b8076a34e2608ddac 100644 |
--- a/src/v8-counters.cc |
+++ b/src/v8-counters.cc |
@@ -71,6 +71,16 @@ Counters::Counters() { |
CODE_KIND_LIST(SC) |
#undef SC |
+#define SC(name) \ |
+ StatsCounter count_of_FIXED_ARRAY_##name = { \ |
+ "c:" "V8.CountOf_FIXED_ARRAY-" #name, NULL, false }; \ |
+ count_of_FIXED_ARRAY_##name##_ = count_of_FIXED_ARRAY_##name; \ |
+ StatsCounter size_of_FIXED_ARRAY_##name = { \ |
+ "c:" "V8.SizeOf_FIXED_ARRAY-" #name, NULL, false }; \ |
+ size_of_FIXED_ARRAY_##name##_ = size_of_FIXED_ARRAY_##name; |
+ FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(SC) |
+#undef SC |
+ |
StatsCounter state_counters[] = { |
#define COUNTER_NAME(name) \ |
{ "c:V8.State" #name, NULL, false }, |