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

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

Issue 565047: * Add the partial context snapshot to the VM executable if... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 10 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
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 SC(total_load_size, V8.TotalLoadSize) \ 90 SC(total_load_size, V8.TotalLoadSize) \
91 /* Amount of parsed source code. */ \ 91 /* Amount of parsed source code. */ \
92 SC(total_parse_size, V8.TotalParseSize) \ 92 SC(total_parse_size, V8.TotalParseSize) \
93 /* Amount of source code skipped over using preparsing. */ \ 93 /* Amount of source code skipped over using preparsing. */ \
94 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ 94 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \
95 /* Amount of compiled source code. */ \ 95 /* Amount of compiled source code. */ \
96 SC(total_compile_size, V8.TotalCompileSize) \ 96 SC(total_compile_size, V8.TotalCompileSize) \
97 /* Amount of source code compiled with the old codegen. */ \ 97 /* Amount of source code compiled with the old codegen. */ \
98 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \ 98 SC(total_old_codegen_source_size, V8.TotalOldCodegenSourceSize) \
99 /* Amount of source code compiled with the full codegen. */ \ 99 /* Amount of source code compiled with the full codegen. */ \
100 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) 100 SC(total_full_codegen_source_size, V8.TotalFullCodegenSourceSize) \
101 /* Number of contexts created from scratch. */ \
102 SC(contexts_created_from_scratch, V8.ContextsCreatedFromScratch) \
103 /* Number of contexts created by partial snapshot. */ \
104 SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot)
105
101 106
102 107
103 #define STATS_COUNTER_LIST_2(SC) \ 108 #define STATS_COUNTER_LIST_2(SC) \
104 /* Number of code stubs. */ \ 109 /* Number of code stubs. */ \
105 SC(code_stubs, V8.CodeStubs) \ 110 SC(code_stubs, V8.CodeStubs) \
106 /* Amount of stub code. */ \ 111 /* Amount of stub code. */ \
107 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \ 112 SC(total_stubs_code_size, V8.TotalStubsCodeSize) \
108 /* Amount of (JS) compiled code. */ \ 113 /* Amount of (JS) compiled code. */ \
109 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \ 114 SC(total_compiled_code_size, V8.TotalCompiledCodeSize) \
110 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \ 115 SC(gc_compactor_caused_by_request, V8.GCCompactorCausedByRequest) \
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 stats_counter_count 198 stats_counter_count
194 }; 199 };
195 200
196 // Sliding state window counters. 201 // Sliding state window counters.
197 static StatsCounter state_counters[]; 202 static StatsCounter state_counters[];
198 }; 203 };
199 204
200 } } // namespace v8::internal 205 } } // namespace v8::internal
201 206
202 #endif // V8_V8_COUNTERS_H_ 207 #endif // V8_V8_COUNTERS_H_
OLDNEW
« src/api.cc ('K') | « src/snapshot-empty.cc ('k') | src/v8threads.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698