Index: src/compiler-dispatcher/compiler-dispatcher-job.h |
diff --git a/src/compiler-dispatcher/compiler-dispatcher-job.h b/src/compiler-dispatcher/compiler-dispatcher-job.h |
index 811d4fcb4edd7a200cf66fe92e078e32958a018d..0bd450164a765da3a5a4f1369d66f84596836697 100644 |
--- a/src/compiler-dispatcher/compiler-dispatcher-job.h |
+++ b/src/compiler-dispatcher/compiler-dispatcher-job.h |
@@ -83,6 +83,9 @@ class V8_EXPORT_PRIVATE CompilerDispatcherJob { |
// Transition from any state to kInitial and free all resources. |
void ResetOnMainThread(); |
+ // Estimate how long the next step will take using the tracer. |
+ double EstimateRuntimeOfNextStepInMs() const; |
+ |
private: |
FRIEND_TEST(CompilerDispatcherJobTest, ScopeChain); |