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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(props_to_dictionary, V8.ObjectPropertiesToDictionary) \ | 70 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \ |
71 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \ | 71 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \ |
72 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ | 72 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ |
73 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ | 73 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ |
74 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ | 74 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ |
75 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ | 75 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ |
76 SC(number_of_symbols, V8.NumberOfSymbols) \ | 76 SC(number_of_symbols, V8.NumberOfSymbols) \ |
77 /* Current amount of memory in external string buffers. */ \ | |
78 SC(total_external_string_memory, V8.TotalExternalStringMemory) \ | |
79 SC(script_wrappers, V8.ScriptWrappers) \ | 77 SC(script_wrappers, V8.ScriptWrappers) \ |
80 SC(call_initialize_stubs, V8.CallInitializeStubs) \ | 78 SC(call_initialize_stubs, V8.CallInitializeStubs) \ |
81 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ | 79 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ |
82 SC(call_normal_stubs, V8.CallNormalStubs) \ | 80 SC(call_normal_stubs, V8.CallNormalStubs) \ |
83 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ | 81 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ |
84 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ | 82 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ |
85 SC(compilation_cache_hits, V8.CompilationCacheHits) \ | 83 SC(compilation_cache_hits, V8.CompilationCacheHits) \ |
86 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ | 84 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ |
87 SC(regexp_cache_hits, V8.RegExpCacheHits) \ | 85 SC(regexp_cache_hits, V8.RegExpCacheHits) \ |
88 SC(regexp_cache_misses, V8.RegExpCacheMisses) \ | 86 SC(regexp_cache_misses, V8.RegExpCacheMisses) \ |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 stats_counter_count | 183 stats_counter_count |
186 }; | 184 }; |
187 | 185 |
188 // Sliding state window counters. | 186 // Sliding state window counters. |
189 static StatsCounter state_counters[]; | 187 static StatsCounter state_counters[]; |
190 }; | 188 }; |
191 | 189 |
192 } } // namespace v8::internal | 190 } } // namespace v8::internal |
193 | 191 |
194 #endif // V8_V8_COUNTERS_H_ | 192 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |