Index: runtime/vm/profiler.cc |
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc |
index af80f9f598c73316a4cefb13c09144c6114866d4..f7484f521a3c1b57bd5e2e84a1b45babf06b17f4 100644 |
--- a/runtime/vm/profiler.cc |
+++ b/runtime/vm/profiler.cc |
@@ -820,7 +820,7 @@ static Sample* SetupSample(Thread* thread, |
Isolate* isolate = thread->isolate(); |
ASSERT(sample_buffer != NULL); |
Sample* sample = sample_buffer->ReserveSample(); |
- sample->Init(isolate, OS::GetCurrentTraceMicros(), tid); |
+ sample->Init(isolate, OS::GetCurrentMonotonicMicros(), tid); |
uword vm_tag = thread->vm_tag(); |
#if defined(USING_SIMULATOR) |
// When running in the simulator, the runtime entry function address |