summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h')
-rw-r--r--deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h b/deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h
index b505511eb9..3751d0da54 100644
--- a/deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h
+++ b/deps/v8/src/compiler-dispatcher/compiler-dispatcher-tracer.h
@@ -52,7 +52,6 @@ class V8_EXPORT_PRIVATE CompilerDispatcherTracer {
ScopeID scope_id_;
size_t num_;
double start_time_;
- RuntimeCallTimer timer_;
DISALLOW_COPY_AND_ASSIGN(Scope);
};
@@ -69,10 +68,12 @@ class V8_EXPORT_PRIVATE CompilerDispatcherTracer {
double EstimatePrepareToParseInMs() const;
double EstimateParseInMs(size_t source_length) const;
- double EstimateFinalizeParsingInMs();
- double EstimatePrepareToCompileInMs();
- double EstimateCompileInMs(size_t ast_size_in_bytes);
- double EstimateFinalizeCompilingInMs();
+ double EstimateFinalizeParsingInMs() const;
+ double EstimatePrepareToCompileInMs() const;
+ double EstimateCompileInMs(size_t ast_size_in_bytes) const;
+ double EstimateFinalizeCompilingInMs() const;
+
+ void DumpStatistics() const;
private:
static double Average(const base::RingBuffer<double>& buffer);