DescriptionSupport 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 #Messages
Total messages: 11 (0 generated)
|