DescriptionSplit Ticker into two samplers.
Currently there are two logic in Ticker, one is to try to request a
pre-allocated TickSample from CpuProfiler and then initialize it, and if the
request fails, it will initialize a local TickSample. The other is it will pass
an initialized TickSample to Profiler to log into v8.log.
This patch splits Ticker into two samplers, the first one remains in log.cc to
collect samples and pass to Profiler for logging, the second one will be called
by ProfilerEventsProcessor, and only use the circular queue only.
BUG=v8:4789
LOG=N
Committed: https://crrev.com/3ca49d9aec99e0d1f0efc8c97a221dcb70312648
Cr-Commit-Position: refs/heads/master@{#37506}
Patch Set 1 #
Total comments: 6
Patch Set 2 : address nits #
Total comments: 8
Patch Set 3 : Address nits. #
Total comments: 2
Patch Set 4 : update #
Messages
Total messages: 16 (6 generated)
|