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

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

Issue 8700: As discussed on the phone, I'd like your thoughts on the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 1 month 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
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ 94 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \
95 /* Amount of (JS) compiled code. */ \ 95 /* Amount of (JS) compiled code. */ \
96 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ 96 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \
97 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ 97 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \
98 SC(gc_compactor_caused_by_promoted_data, \ 98 SC(gc_compactor_caused_by_promoted_data, \
99 V8.GCCompactorCausedByPromotedData) \ 99 V8.GCCompactorCausedByPromotedData) \
100 SC(gc_compactor_caused_by_oldspace_exhaustion, \ 100 SC(gc_compactor_caused_by_oldspace_exhaustion, \
101 V8.GCCompactorCausedByOldspaceExhaustion) \ 101 V8.GCCompactorCausedByOldspaceExhaustion) \
102 SC(gc_compactor_caused_by_weak_handles, \ 102 SC(gc_compactor_caused_by_weak_handles, \
103 V8.GCCompactorCausedByWeakHandles) \ 103 V8.GCCompactorCausedByWeakHandles) \
104 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \
105 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \
104 /* How is the generic keyed-load stub used? */ \ 106 /* How is the generic keyed-load stub used? */ \
105 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ 107 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \
106 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ 108 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \
107 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ 109 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \
108 /* Count how much the monomorphic keyed-load stubs are hit. */ \ 110 /* Count how much the monomorphic keyed-load stubs are hit. */ \
109 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \ 111 SC(keyed_load_function_prototype, V8.KeyedLoadFunctionPrototype) \
110 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \ 112 SC(keyed_load_string_length, V8.KeyedLoadStringLength) \
111 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \ 113 SC(keyed_load_array_length, V8.KeyedLoadArrayLength) \
112 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \ 114 SC(keyed_load_constant_function, V8.KeyedLoadConstantFunction) \
113 SC(keyed_load_field, V8.KeyedLoadField) \ 115 SC(keyed_load_field, V8.KeyedLoadField) \
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 stats_counter_count 151 stats_counter_count
150 }; 152 };
151 153
152 // Sliding state window counters. 154 // Sliding state window counters.
153 static StatsCounter state_counters[]; 155 static StatsCounter state_counters[];
154 }; 156 };
155 157
156 } } // namespace v8::internal 158 } } // namespace v8::internal
157 159
158 #endif // V8_COUNTERS_H_ 160 #endif // V8_COUNTERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698