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

Issue 22412003: Support idle time in CPU profiler (Closed)

Created:
7 years, 4 months ago by yurys
Modified:
7 years, 4 months ago
Reviewers:
alph, Yang, loislo
CC:
v8-dev
Visibility:
Public.

Description

Support idle time in CPU profiler This change provides an API for the embedder to tell CPU profiler if it is idle or busy with some task. This way we can discriminate between idle time and some native code execution. BUG=268947 R=alph@chromium.org, yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16109

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Comment addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -10 lines) Patch
M include/v8-profiler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M src/cpu-profiler.h View 2 chunks +1 line, -1 line 0 comments Download
M src/cpu-profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M src/profile-generator.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/profile-generator.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M src/profile-generator-inl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/sampler.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/v8globals.h View 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 chunk +53 lines, -0 lines 0 comments Download
M test/cctest/test-log-stack-tracer.cc View 1 chunk +1 line, -1 line 0 comments Download
M tools/tickprocessor.js View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
yurys
7 years, 4 months ago (2013-08-06 14:20:06 UTC) #1
alph
lgtm https://codereview.chromium.org/22412003/diff/3001/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/22412003/diff/3001/src/isolate.h#newcode665 src/isolate.h:665: Address js_entry_sp() { Can't you just use the ...
7 years, 4 months ago (2013-08-07 09:51:59 UTC) #2
yurys
https://codereview.chromium.org/22412003/diff/3001/src/isolate.h File src/isolate.h (right): https://codereview.chromium.org/22412003/diff/3001/src/isolate.h#newcode665 src/isolate.h:665: Address js_entry_sp() { On 2013/08/07 09:51:59, alph wrote: > ...
7 years, 4 months ago (2013-08-07 10:07:32 UTC) #3
yurys
Yang, can you do OWNER review please?
7 years, 4 months ago (2013-08-07 12:21:26 UTC) #4
Yang
LGTM with comment. The visualization tool (tools/plot-timer-event) would surely benefit from this additional piece of ...
7 years, 4 months ago (2013-08-07 16:23:26 UTC) #5
yurys
As for the plotter support: do you mean adding V8.Idle (similar to V8.External used by ...
7 years, 4 months ago (2013-08-07 16:55:44 UTC) #6
yurys
As far as I can tell the tool doesn't show anything for the time when ...
7 years, 4 months ago (2013-08-07 16:59:21 UTC) #7
yurys
7 years, 4 months ago (2013-08-07 17:04:39 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r16109 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698