Index: src/cpu-profiler-inl.h |
diff --git a/src/cpu-profiler-inl.h b/src/cpu-profiler-inl.h |
index fb4f43b6701bdaa9fbe1de76d7b585ad12b505be..e454a9a93c25be56ffcc3da3be9c56f9fb934592 100644 |
--- a/src/cpu-profiler-inl.h |
+++ b/src/cpu-profiler-inl.h |
@@ -71,6 +71,7 @@ TickSampleEventRecord* TickSampleEventRecord::init(void* value) { |
TickSample* ProfilerEventsProcessor::TickSampleEvent() { |
+ generator_->Tick(); |
TickSampleEventRecord* evt = |
TickSampleEventRecord::init(ticks_buffer_.Enqueue()); |
evt->order = enqueue_order_; // No increment! |