Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: src/v8-counters.h

Issue 8139027: Version 3.6.5 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/v8.cc ('k') | src/v8globals.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 /* Amount of source code compiled with the old codegen. */ \ 100 /* Amount of source code compiled with the old codegen. */ \
101 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ 101 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \
102 /* Amount of source code compiled with the full codegen. */ \ 102 /* Amount of source code compiled with the full codegen. */ \
103 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ 103 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \
104 /* Number of contexts created from scratch. */ \ 104 /* Number of contexts created from scratch. */ \
105 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ 105 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \
106 /* Number of contexts created by partial snapshot. */ \ 106 /* Number of contexts created by partial snapshot. */ \
107 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \ 107 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \
108 /* Number of code objects found from pc. */ \ 108 /* Number of code objects found from pc. */ \
109 SC(pc_to_code, V8.PcToCode) \ 109 SC(pc_to_code, V8.PcToCode) \
110 SC(pc_to_code_cached, V8.PcToCodeCached) 110 SC(pc_to_code_cached, V8.PcToCodeCached) \
111 /* The store-buffer implementation of the write barrier. */ \
112 SC(store_buffer_compactions, V8.StoreBufferCompactions) \
113 SC(store_buffer_overflows, V8.StoreBufferOverflows)
111 114
112 115
113 #define STATS_COUNTER_LIST_2(SC) \ 116 #define STATS_COUNTER_LIST_2(SC) \
114 /* Number of code stubs. */ \ 117 /* Number of code stubs. */ \
115 SC(code_stubs, V8.CodeStubs) \ 118 SC(code_stubs, V8.CodeStubs) \
116 /* Amount of stub code. */ \ 119 /* Amount of stub code. */ \
117 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ 120 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \
118 /* Amount of (JS) compiled code. */ \ 121 /* Amount of (JS) compiled code. */ \
119 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ 122 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \
120 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ 123 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \
121 SC(gc_compactor_caused_by_promoted_data, \ 124 SC(gc_compactor_caused_by_promoted_data, \
122 V8.GCCompactorCausedByPromotedData) \ 125 V8.GCCompactorCausedByPromotedData) \
123 SC(gc_compactor_caused_by_oldspace_exhaustion, \ 126 SC(gc_compactor_caused_by_oldspace_exhaustion, \
124 V8.GCCompactorCausedByOldspaceExhaustion) \ 127 V8.GCCompactorCausedByOldspaceExhaustion) \
125 SC(gc_compactor_caused_by_weak_handles, \ 128 SC(gc_compactor_caused_by_weak_handles, \
126 V8.GCCompactorCausedByWeakHandles) \ 129 V8.GCCompactorCausedByWeakHandles) \
127 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ 130 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \
128 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ 131 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \
129 SC(map_to_fast_elements, V8.MapToFastElements) \
130 SC(map_to_fast_double_elements, V8.MapToFastDoubleElements) \
131 SC(map_to_slow_elements, V8.MapToSlowElements) \
132 SC(map_to_external_array_elements, V8.MapToExternalArrayElements) \
133 /* How is the generic keyed-load stub used? */ \ 132 /* How is the generic keyed-load stub used? */ \
134 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ 133 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \
135 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ 134 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \
136 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ 135 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \
137 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ 136 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \
138 SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs) \ 137 SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs) \
139 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ 138 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \
140 /* How is the generic keyed-call stub used? */ \ 139 /* How is the generic keyed-call stub used? */ \
141 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ 140 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \
142 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ 141 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // Sliding state window counters. 301 // Sliding state window counters.
303 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; 302 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
304 friend class Isolate; 303 friend class Isolate;
305 304
306 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 305 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
307 }; 306 };
308 307
309 } } // namespace v8::internal 308 } } // namespace v8::internal
310 309
311 #endif // V8_V8_COUNTERS_H_ 310 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/v8.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698