Index: src/cpu-profiler.cc |
=================================================================== |
--- src/cpu-profiler.cc (revision 5316) |
+++ src/cpu-profiler.cc (working copy) |
@@ -46,7 +46,7 @@ |
ProfilerEventsProcessor::ProfilerEventsProcessor(ProfileGenerator* generator) |
: generator_(generator), |
- running_(false), |
+ running_(true), |
ticks_buffer_(sizeof(TickSampleEventRecord), |
kTickSamplesBufferChunkSize, |
kTickSamplesBufferChunksCount), |
@@ -247,7 +247,6 @@ |
void ProfilerEventsProcessor::Run() { |
unsigned dequeue_order = 0; |
- running_ = true; |
while (running_) { |
// Process ticks until we have any. |