| Index: src/compiler-dispatcher/compiler-dispatcher-tracer.h
|
| diff --git a/src/compiler-dispatcher/compiler-dispatcher-tracer.h b/src/compiler-dispatcher/compiler-dispatcher-tracer.h
|
| index 3751d0da5459031939e6136668c6c6287733386f..7bbd5d9d60cda345a12f7e32ae212e976bbad740 100644
|
| --- a/src/compiler-dispatcher/compiler-dispatcher-tracer.h
|
| +++ b/src/compiler-dispatcher/compiler-dispatcher-tracer.h
|
| @@ -35,6 +35,7 @@ class V8_EXPORT_PRIVATE CompilerDispatcherTracer {
|
| kPrepareToParse,
|
| kParse,
|
| kFinalizeParsing,
|
| + kAnalyze,
|
| kPrepareToCompile,
|
| kCompile,
|
| kFinalizeCompiling
|
| @@ -62,6 +63,7 @@ class V8_EXPORT_PRIVATE CompilerDispatcherTracer {
|
| void RecordPrepareToParse(double duration_ms);
|
| void RecordParse(double duration_ms, size_t source_length);
|
| void RecordFinalizeParsing(double duration_ms);
|
| + void RecordAnalyze(double duration_ms);
|
| void RecordPrepareToCompile(double duration_ms);
|
| void RecordCompile(double duration_ms, size_t ast_size_in_bytes);
|
| void RecordFinalizeCompiling(double duration_ms);
|
| @@ -69,6 +71,7 @@ class V8_EXPORT_PRIVATE CompilerDispatcherTracer {
|
| double EstimatePrepareToParseInMs() const;
|
| double EstimateParseInMs(size_t source_length) const;
|
| double EstimateFinalizeParsingInMs() const;
|
| + double EstimateAnalyzeInMs() const;
|
| double EstimatePrepareToCompileInMs() const;
|
| double EstimateCompileInMs(size_t ast_size_in_bytes) const;
|
| double EstimateFinalizeCompilingInMs() const;
|
| @@ -84,6 +87,7 @@ class V8_EXPORT_PRIVATE CompilerDispatcherTracer {
|
| base::RingBuffer<double> prepare_parse_events_;
|
| base::RingBuffer<std::pair<size_t, double>> parse_events_;
|
| base::RingBuffer<double> finalize_parsing_events_;
|
| + base::RingBuffer<double> analyze_events_;
|
| base::RingBuffer<double> prepare_compile_events_;
|
| base::RingBuffer<std::pair<size_t, double>> compile_events_;
|
| base::RingBuffer<double> finalize_compiling_events_;
|
|
|