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

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

Issue 457: Added a EvalCache that caches eval'ed scripts and compiled function boilerpla... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 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
« src/runtime.cc ('K') | « src/runtime.cc ('k') | no next file » | 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 Google Inc. All Rights Reserved. 1 // Copyright 2007-2008 Google Inc. 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ 64 SC(symbol_table_capacity, V8.SymbolTableCapacity) \
65 SC(number_of_symbols, V8.NumberOfSymbols) \ 65 SC(number_of_symbols, V8.NumberOfSymbols) \
66 /* Current amount of memory in external string buffers. */ \ 66 /* Current amount of memory in external string buffers. */ \
67 SC(total_external_string_memory, V8.TotalExternalStringMemory) \ 67 SC(total_external_string_memory, V8.TotalExternalStringMemory) \
68 SC(script_wrappers, V8.ScriptWrappers) \ 68 SC(script_wrappers, V8.ScriptWrappers) \
69 SC(call_initialize_stubs, V8.CallInitializeStubs) \ 69 SC(call_initialize_stubs, V8.CallInitializeStubs) \
70 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ 70 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \
71 SC(call_normal_stubs, V8.CallNormalStubs) \ 71 SC(call_normal_stubs, V8.CallNormalStubs) \
72 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \ 72 SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \
73 SC(arguments_adaptors, V8.ArgumentsAdaptors) \ 73 SC(arguments_adaptors, V8.ArgumentsAdaptors) \
74 SC(eval_cache_hits, V8.EvalCacheHits) \
75 SC(eval_cache_misses, V8.EvalCacheMisses) \
74 /* Amount of evaled source code. */ \ 76 /* Amount of evaled source code. */ \
75 SC(total_eval_size, V8.TotalEvalSize) \ 77 SC(total_eval_size, V8.TotalEvalSize) \
76 /* Amount of loaded source code. */ \ 78 /* Amount of loaded source code. */ \
77 SC(total_load_size, V8.TotalLoadSize) \ 79 SC(total_load_size, V8.TotalLoadSize) \
78 /* Amount of parsed source code. */ \ 80 /* Amount of parsed source code. */ \
79 SC(total_parse_size, V8.TotalParseSize) \ 81 SC(total_parse_size, V8.TotalParseSize) \
80 /* Amount of source code skipped over using preparsing. */ \ 82 /* Amount of source code skipped over using preparsing. */ \
81 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \ 83 SC(total_preparse_skipped, V8.TotalPreparseSkipped) \
82 /* Amount of compiled source code. */ \ 84 /* Amount of compiled source code. */ \
83 SC(total_compile_size, V8.TotalCompileSize) 85 SC(total_compile_size, V8.TotalCompileSize)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 stats_counter_count 145 stats_counter_count
144 }; 146 };
145 147
146 // Sliding state window counters. 148 // Sliding state window counters.
147 static StatsCounter state_counters[]; 149 static StatsCounter state_counters[];
148 }; 150 };
149 151
150 } } // namespace v8::internal 152 } } // namespace v8::internal
151 153
152 #endif // V8_COUNTERS_H_ 154 #endif // V8_COUNTERS_H_
OLDNEW
« src/runtime.cc ('K') | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698