Commit 905aae9a authored by Jaroslav Sevcik's avatar Jaroslav Sevcik Committed by Commit Bot

[profiler] Start timer when profiling to get timestamps in profview.

Bug: v8:6520
Change-Id: I3d5a019885516d7cbc4f43bfb3892bed655a9628
Reviewed-on: https://chromium-review.googlesource.com/586708Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46901}
parent 2b23e892
...@@ -1774,7 +1774,7 @@ bool Logger::SetUp(Isolate* isolate) { ...@@ -1774,7 +1774,7 @@ bool Logger::SetUp(Isolate* isolate) {
is_logging_ = true; is_logging_ = true;
} }
if (FLAG_log_internal_timer_events) timer_.Start(); if (FLAG_log_internal_timer_events || FLAG_prof_cpp) timer_.Start();
if (FLAG_prof_cpp) { if (FLAG_prof_cpp) {
profiler_ = new Profiler(isolate); profiler_ = new Profiler(isolate);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment