OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ | 43 HT(gc_context, V8.GCContext) /* GC context cleanup time */ \ |
44 /* Parsing timers. */ \ | 44 /* Parsing timers. */ \ |
45 HT(parse, V8.Parse) \ | 45 HT(parse, V8.Parse) \ |
46 HT(parse_lazy, V8.ParseLazy) \ | 46 HT(parse_lazy, V8.ParseLazy) \ |
47 HT(pre_parse, V8.PreParse) \ | 47 HT(pre_parse, V8.PreParse) \ |
48 /* Total compilation times. */ \ | 48 /* Total compilation times. */ \ |
49 HT(compile, V8.Compile) \ | 49 HT(compile, V8.Compile) \ |
50 HT(compile_eval, V8.CompileEval) \ | 50 HT(compile_eval, V8.CompileEval) \ |
51 HT(compile_lazy, V8.CompileLazy) | 51 HT(compile_lazy, V8.CompileLazy) |
52 | 52 |
53 | |
54 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ | 53 #define HISTOGRAM_PERCENTAGE_LIST(HP) \ |
55 HP(external_fragmentation_total, \ | 54 HP(external_fragmentation_total, \ |
56 V8.MemoryExternalFragmentationTotal) \ | 55 V8.MemoryExternalFragmentationTotal) \ |
57 HP(external_fragmentation_old_pointer_space, \ | 56 HP(external_fragmentation_old_pointer_space, \ |
58 V8.MemoryExternalFragmentationOldPointerSpace) \ | 57 V8.MemoryExternalFragmentationOldPointerSpace) \ |
59 HP(external_fragmentation_old_data_space, \ | 58 HP(external_fragmentation_old_data_space, \ |
60 V8.MemoryExternalFragmentationOldDataSpace) \ | 59 V8.MemoryExternalFragmentationOldDataSpace) \ |
61 HP(external_fragmentation_code_space, \ | 60 HP(external_fragmentation_code_space, \ |
62 V8.MemoryExternalFragmentationCodeSpace) \ | 61 V8.MemoryExternalFragmentationCodeSpace) \ |
63 HP(external_fragmentation_map_space, \ | 62 HP(external_fragmentation_map_space, \ |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 // Sliding state window counters. | 435 // Sliding state window counters. |
437 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; | 436 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; |
438 friend class Isolate; | 437 friend class Isolate; |
439 | 438 |
440 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 439 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
441 }; | 440 }; |
442 | 441 |
443 } } // namespace v8::internal | 442 } } // namespace v8::internal |
444 | 443 |
445 #endif // V8_V8_COUNTERS_H_ | 444 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |