| 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 "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/base/platform/elapsed-timer.h" | 10 #include "src/base/platform/elapsed-timer.h" |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 SC(number_of_symbols, V8.NumberOfSymbols) \ | 564 SC(number_of_symbols, V8.NumberOfSymbols) \ |
| 565 SC(script_wrappers, V8.ScriptWrappers) \ | 565 SC(script_wrappers, V8.ScriptWrappers) \ |
| 566 SC(call_initialize_stubs, V8.CallInitializeStubs) \ | 566 SC(call_initialize_stubs, V8.CallInitializeStubs) \ |
| 567 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ | 567 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ |
| 568 SC(call_normal_stubs, V8.CallNormalStubs) \ | 568 SC(call_normal_stubs, V8.CallNormalStubs) \ |
| 569 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ | 569 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ |
| 570 SC(inlined_copied_elements, V8.InlinedCopiedElements) \ | 570 SC(inlined_copied_elements, V8.InlinedCopiedElements) \ |
| 571 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ | 571 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ |
| 572 SC(compilation_cache_hits, V8.CompilationCacheHits) \ | 572 SC(compilation_cache_hits, V8.CompilationCacheHits) \ |
| 573 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ | 573 SC(compilation_cache_misses, V8.CompilationCacheMisses) \ |
| 574 SC(string_ctor_calls, V8.StringConstructorCalls) \ | |
| 575 SC(string_ctor_conversions, V8.StringConstructorConversions) \ | |
| 576 SC(string_ctor_cached_number, V8.StringConstructorCachedNumber) \ | |
| 577 SC(string_ctor_string_value, V8.StringConstructorStringValue) \ | |
| 578 SC(string_ctor_gc_required, V8.StringConstructorGCRequired) \ | |
| 579 /* Amount of evaled source code. */ \ | 574 /* Amount of evaled source code. */ \ |
| 580 SC(total_eval_size, V8.TotalEvalSize) \ | 575 SC(total_eval_size, V8.TotalEvalSize) \ |
| 581 /* Amount of loaded source code. */ \ | 576 /* Amount of loaded source code. */ \ |
| 582 SC(total_load_size, V8.TotalLoadSize) \ | 577 SC(total_load_size, V8.TotalLoadSize) \ |
| 583 /* Amount of parsed source code. */ \ | 578 /* Amount of parsed source code. */ \ |
| 584 SC(total_parse_size, V8.TotalParseSize) \ | 579 SC(total_parse_size, V8.TotalParseSize) \ |
| 585 /* Amount of source code skipped over using preparsing. */ \ | 580 /* Amount of source code skipped over using preparsing. */ \ |
| 586 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ | 581 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ |
| 587 /* Number of symbol lookups skipped using preparsing */ \ | 582 /* Number of symbol lookups skipped using preparsing */ \ |
| 588 SC(total_preparse_symbols_skipped, V8.TotalPreparseSymbolSkipped) \ | 583 SC(total_preparse_symbols_skipped, V8.TotalPreparseSymbolSkipped) \ |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 friend class Isolate; | 882 friend class Isolate; |
| 888 | 883 |
| 889 explicit Counters(Isolate* isolate); | 884 explicit Counters(Isolate* isolate); |
| 890 | 885 |
| 891 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 886 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 892 }; | 887 }; |
| 893 | 888 |
| 894 } } // namespace v8::internal | 889 } } // namespace v8::internal |
| 895 | 890 |
| 896 #endif // V8_COUNTERS_H_ | 891 #endif // V8_COUNTERS_H_ |
| OLD | NEW |