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

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

Issue 3226014: Add functionality for finding code objects from a pc that points into... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 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/top.cc ('k') | src/v8threads.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 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ 100 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \
101 /* Amount of compiled source code. */ \ 101 /* Amount of compiled source code. */ \
102 SC(total_compile_size, V8.TotalCompileSize) \ 102 SC(total_compile_size, V8.TotalCompileSize) \
103 /* Amount of source code compiled with the old codegen. */ \ 103 /* Amount of source code compiled with the old codegen. */ \
104 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ 104 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \
105 /* Amount of source code compiled with the full codegen. */ \ 105 /* Amount of source code compiled with the full codegen. */ \
106 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \ 106 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \
107 /* Number of contexts created from scratch. */ \ 107 /* Number of contexts created from scratch. */ \
108 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \ 108 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \
109 /* Number of contexts created by partial snapshot. */ \ 109 /* Number of contexts created by partial snapshot. */ \
110 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) 110 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \
111 /* Number of code objects found from pc. */ \
112 SC(pc_to_code, V8.PcToCode) \
113 SC(pc_to_code_cached, V8.PcToCodeCached)
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) \
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 stats_counter_count 255 stats_counter_count
253 }; 256 };
254 257
255 // Sliding state window counters. 258 // Sliding state window counters.
256 static StatsCounter state_counters[]; 259 static StatsCounter state_counters[];
257 }; 260 };
258 261
259 } } // namespace v8::internal 262 } } // namespace v8::internal
260 263
261 #endif // V8_V8_COUNTERS_H_ 264 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/top.cc ('k') | src/v8threads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698