Index: src/log.cc |
=================================================================== |
--- src/log.cc (revision 5635) |
+++ src/log.cc (working copy) |
@@ -191,11 +191,12 @@ |
~Ticker() { if (IsActive()) Stop(); } |
- void SampleStack(TickSample* sample) { |
+ virtual void SampleStack(TickSample* sample) { |
+ ASSERT(IsSynchronous()); |
StackTracer::Trace(sample); |
} |
- void Tick(TickSample* sample) { |
+ virtual void Tick(TickSample* sample) { |
if (profiler_) profiler_->Insert(sample); |
if (window_) window_->AddState(sample->state); |
} |