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

Unified Diff: src/counters.h

Issue 1649743002: Add counters to trace baseline code size. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_trace_bc
Patch Set: Review Comments Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index d8a3f091f848b3c46ab159ca2120ae34392243ab..b8aa18ab69aed49919ca8063e0841e7770f542e4 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -576,7 +576,7 @@ double AggregatedMemoryHistogram<Histogram>::Aggregate(double current_ms,
SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \
SC(call_normal_stubs, V8.CallNormalStubs) \
SC(call_megamorphic_stubs, V8.CallMegamorphicStubs) \
- SC(inlined_copied_elements, V8.InlinedCopiedElements) \
+ SC(inlined_copied_elements, V8.InlinedCopiedElements) \
SC(arguments_adaptors, V8.ArgumentsAdaptors) \
SC(compilation_cache_hits, V8.CompilationCacheHits) \
SC(compilation_cache_misses, V8.CompilationCacheMisses) \
@@ -718,8 +718,11 @@ double AggregatedMemoryHistogram<Histogram>::Aggregate(double current_ms,
SC(turbo_escape_allocs_replaced, V8.TurboEscapeAllocsReplaced) \
SC(crankshaft_escape_allocs_replaced, V8.CrankshaftEscapeAllocsReplaced) \
SC(turbo_escape_loads_replaced, V8.TurboEscapeLoadsReplaced) \
- SC(crankshaft_escape_loads_replaced, V8.CrankshaftEscapeLoadsReplaced)
-
+ SC(crankshaft_escape_loads_replaced, V8.CrankshaftEscapeLoadsReplaced) \
+ /* Total code size (including metadata) of baseline code or bytecode. */ \
+ SC(total_baseline_code_size, V8.TotalBaselineCodeSize) \
+ /* Total count of functions compiled using the baseline compiler. */ \
+ SC(total_baseline_compile_count, V8.TotalBaselineCompileCount)
// This file contains all the v8 counters that are in use.
class Counters {
« no previous file with comments | « src/compiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698