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

Issue 23271003: Support higher CPU profiler sampling rate on Windows (Closed)

Created:
7 years, 4 months ago by yurys
Modified:
7 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Support higher CPU profiler sampling rate on Windows This change moves sampling from SamplerThread to the profiler events processing thread and allows to configure sampling interval on Windows. Custom tick counter is used instead of OS::Ticks as the latter has maximum presicion of 1ms while we need 100us. QueryPerformanceCounter is used to retrieve high-precision time as described in http://msdn.microsoft.com/en-us/library/ee417693(VS.85).aspx BUG=v8:2814 R=bmeurer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16428

Patch Set 1 #

Patch Set 2 : Use new ticks impl #

Patch Set 3 : Rebase #

Patch Set 4 : Rebased on the new Time implementation #

Total comments: 2

Patch Set 5 : Use V8_OS_WIN and V8_OS_CYGWIN as suggested #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M src/sampler.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
yurys
7 years, 4 months ago (2013-08-16 15:36:44 UTC) #1
Benedikt Meurer
I don't want to introduce any more #ifdef's here. I think we should simply import ...
7 years, 4 months ago (2013-08-19 07:58:09 UTC) #2
yurys
On 2013/08/19 07:58:09, Benedikt Meurer wrote: > I don't want to introduce any more #ifdef's ...
7 years, 4 months ago (2013-08-19 08:32:40 UTC) #3
Benedikt Meurer
On 2013/08/19 08:32:40, Yury Semikhatsky wrote: > On 2013/08/19 07:58:09, Benedikt Meurer wrote: > > ...
7 years, 4 months ago (2013-08-19 08:35:51 UTC) #4
yurys
On 2013/08/19 08:35:51, Benedikt Meurer wrote: > On 2013/08/19 08:32:40, Yury Semikhatsky wrote: > > ...
7 years, 4 months ago (2013-08-19 08:50:25 UTC) #5
Benedikt Meurer
On 2013/08/19 08:50:25, Yury Semikhatsky wrote: > On 2013/08/19 08:35:51, Benedikt Meurer wrote: > > ...
7 years, 4 months ago (2013-08-19 08:52:47 UTC) #6
yurys
On 2013/08/19 08:52:47, Benedikt Meurer wrote: > On 2013/08/19 08:50:25, Yury Semikhatsky wrote: > > ...
7 years, 3 months ago (2013-08-26 12:01:58 UTC) #7
yurys
Rebased this change on the patch adding Chromium-style TimeDelta support https://codereview.chromium.org/23295034/. PTAL
7 years, 3 months ago (2013-08-27 08:21:29 UTC) #8
Benedikt Meurer
Looks way better now. :-) LGTM with comment https://codereview.chromium.org/23271003/diff/20001/src/sampler.cc File src/sampler.cc (right): https://codereview.chromium.org/23271003/diff/20001/src/sampler.cc#newcode614 src/sampler.cc:614: #elif ...
7 years, 3 months ago (2013-08-27 14:02:43 UTC) #9
yurys
https://codereview.chromium.org/23271003/diff/20001/src/sampler.cc File src/sampler.cc (right): https://codereview.chromium.org/23271003/diff/20001/src/sampler.cc#newcode614 src/sampler.cc:614: #elif defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__) On 2013/08/27 14:02:43, ...
7 years, 3 months ago (2013-08-27 15:56:27 UTC) #10
yurys
7 years, 3 months ago (2013-08-29 13:44:34 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r16428 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698