OLD | NEW |
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // lines) rather than one macro (of length about 80 lines) to work around | 60 // lines) rather than one macro (of length about 80 lines) to work around |
61 // this problem. Please avoid using recursive macros of this length when | 61 // this problem. Please avoid using recursive macros of this length when |
62 // possible. | 62 // possible. |
63 #define STATS_COUNTER_LIST_1(SC) \ | 63 #define STATS_COUNTER_LIST_1(SC) \ |
64 /* Global Handle Count*/ \ | 64 /* Global Handle Count*/ \ |
65 SC(global_handles, V8.GlobalHandles) \ | 65 SC(global_handles, V8.GlobalHandles) \ |
66 /* Mallocs from PCRE */ \ | 66 /* Mallocs from PCRE */ \ |
67 SC(pcre_mallocs, V8.PcreMallocCount) \ | 67 SC(pcre_mallocs, V8.PcreMallocCount) \ |
68 /* OS Memory allocated */ \ | 68 /* OS Memory allocated */ \ |
69 SC(memory_allocated, V8.OsMemoryAllocated) \ | 69 SC(memory_allocated, V8.OsMemoryAllocated) \ |
| 70 SC(normalized_maps, V8.NormalizedMaps) \ |
70 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \ | 71 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \ |
71 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \ | 72 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \ |
72 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ | 73 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ |
73 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ | 74 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ |
74 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ | 75 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ |
75 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ | 76 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ |
76 SC(number_of_symbols, V8.NumberOfSymbols) \ | 77 SC(number_of_symbols, V8.NumberOfSymbols) \ |
77 SC(script_wrappers, V8.ScriptWrappers) \ | 78 SC(script_wrappers, V8.ScriptWrappers) \ |
78 SC(call_initialize_stubs, V8.CallInitializeStubs) \ | 79 SC(call_initialize_stubs, V8.CallInitializeStubs) \ |
79 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ | 80 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 stats_counter_count | 247 stats_counter_count |
247 }; | 248 }; |
248 | 249 |
249 // Sliding state window counters. | 250 // Sliding state window counters. |
250 static StatsCounter state_counters[]; | 251 static StatsCounter state_counters[]; |
251 }; | 252 }; |
252 | 253 |
253 } } // namespace v8::internal | 254 } } // namespace v8::internal |
254 | 255 |
255 #endif // V8_V8_COUNTERS_H_ | 256 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |