| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 SC(keyed_load_inline, V8.KeyedLoadInline) \ | 117 SC(keyed_load_inline, V8.KeyedLoadInline) \ |
| 118 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ | 118 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ |
| 119 SC(named_load_inline, V8.NamedLoadInline) \ | 119 SC(named_load_inline, V8.NamedLoadInline) \ |
| 120 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ | 120 SC(named_load_inline_miss, V8.NamedLoadInlineMiss) \ |
| 121 SC(keyed_store_field, V8.KeyedStoreField) \ | 121 SC(keyed_store_field, V8.KeyedStoreField) \ |
| 122 SC(for_in, V8.ForIn) \ | 122 SC(for_in, V8.ForIn) \ |
| 123 SC(enum_cache_hits, V8.EnumCacheHits) \ | 123 SC(enum_cache_hits, V8.EnumCacheHits) \ |
| 124 SC(enum_cache_misses, V8.EnumCacheMisses) \ | 124 SC(enum_cache_misses, V8.EnumCacheMisses) \ |
| 125 SC(reloc_info_count, V8.RelocInfoCount) \ | 125 SC(reloc_info_count, V8.RelocInfoCount) \ |
| 126 SC(reloc_info_size, V8.RelocInfoSize) \ | 126 SC(reloc_info_size, V8.RelocInfoSize) \ |
| 127 SC(zone_segment_bytes, V8.ZoneSegmentBytes) | 127 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ |
| 128 SC(compute_entry_frame, V8.ComputeEntryFrame) |
| 128 | 129 |
| 129 | 130 |
| 130 // This file contains all the v8 counters that are in use. | 131 // This file contains all the v8 counters that are in use. |
| 131 class Counters : AllStatic { | 132 class Counters : AllStatic { |
| 132 public: | 133 public: |
| 133 #define HT(name, caption) \ | 134 #define HT(name, caption) \ |
| 134 static HistogramTimer name; | 135 static HistogramTimer name; |
| 135 HISTOGRAM_TIMER_LIST(HT) | 136 HISTOGRAM_TIMER_LIST(HT) |
| 136 #undef HT | 137 #undef HT |
| 137 | 138 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 155 stats_counter_count | 156 stats_counter_count |
| 156 }; | 157 }; |
| 157 | 158 |
| 158 // Sliding state window counters. | 159 // Sliding state window counters. |
| 159 static StatsCounter state_counters[]; | 160 static StatsCounter state_counters[]; |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } } // namespace v8::internal | 163 } } // namespace v8::internal |
| 163 | 164 |
| 164 #endif // V8_V8_COUNTERS_H_ | 165 #endif // V8_V8_COUNTERS_H_ |
| OLD | NEW |