OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COUNTERS_H_ | 5 #ifndef V8_COUNTERS_H_ |
6 #define V8_COUNTERS_H_ | 6 #define V8_COUNTERS_H_ |
7 | 7 |
8 #include "../include/v8.h" | 8 #include "../include/v8.h" |
9 #include "allocation.h" | 9 #include "allocation.h" |
10 #include "objects.h" | 10 #include "objects.h" |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ | 374 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ |
375 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ | 375 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ |
376 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ | 376 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ |
377 SC(string_table_capacity, V8.StringTableCapacity) \ | 377 SC(string_table_capacity, V8.StringTableCapacity) \ |
378 SC(number_of_symbols, V8.NumberOfSymbols) \ | 378 SC(number_of_symbols, V8.NumberOfSymbols) \ |
379 SC(script_wrappers, V8.ScriptWrappers) \ | 379 SC(script_wrappers, V8.ScriptWrappers) \ |
380 SC(call_initialize_stubs, V8.CallInitializeStubs) \ | 380 SC(call_initialize_stubs, V8.CallInitializeStubs) \ |
381 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ | 381 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ |
382 SC(call_normal_stubs, V8.CallNormalStubs) \ | 382 SC(call_normal_stubs, V8.CallNormalStubs) \ |
383 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ | 383 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ |
384 SC(inlined_copied_elements, V8.InlinedCopiedElements) \ | |
385 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ | 384 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ |
386 SC(compilation_cache_hits, V8.CompilationCacheHits) \ | 385 SC(compilation_cache_hits, V8.CompilationCacheHits) \ |
387 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ | 386 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ |
388 SC(string_ctor_calls, V8.StringConstructorCalls) \ | 387 SC(string_ctor_calls, V8.StringConstructorCalls) \ |
389 SC(string_ctor_conversions, V8.StringConstructorConversions) \ | 388 SC(string_ctor_conversions, V8.StringConstructorConversions) \ |
390 SC(string_ctor_cached_number, V8.StringConstructorCachedNumber) \ | 389 SC(string_ctor_cached_number, V8.StringConstructorCachedNumber) \ |
391 SC(string_ctor_string_value, V8.StringConstructorStringValue) \ | 390 SC(string_ctor_string_value, V8.StringConstructorStringValue) \ |
392 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \ | 391 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \ |
393 /* Amount of evaled source code. */ \ | 392 /* Amount of evaled source code. */ \ |
394 SC(total_eval_size, V8.TotalEvalSize) \ | 393 SC(total_eval_size, V8.TotalEvalSize) \ |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 friend class Isolate; | 679 friend class Isolate; |
681 | 680 |
682 explicit Counters(Isolate* isolate); | 681 explicit Counters(Isolate* isolate); |
683 | 682 |
684 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 683 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
685 }; | 684 }; |
686 | 685 |
687 } } // namespace v8::internal | 686 } } // namespace v8::internal |
688 | 687 |
689 #endif // V8_COUNTERS_H_ | 688 #endif // V8_COUNTERS_H_ |
OLD | NEW |