Index: src/cpu-profiler.h |
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
index e36c3016bed163e1737d0650e48b36b048c44b10..8aba5426d5a53d62fde790d30a45a1f51f463b01 100644 |
--- a/src/cpu-profiler.h |
+++ b/src/cpu-profiler.h |
@@ -161,9 +161,13 @@ class ProfilerEventsProcessor : public Thread { |
private: |
// Called from events processing thread (Run() method.) |
bool ProcessCodeEvent(); |
- bool ProcessTicks(); |
- void ProcessEventsAndDoSample(); |
+ enum SampleProcessingResult { |
+ OneSampleProcessed, |
+ FoundSampleForNextCodeEvent, |
+ NoSamplesInQueue |
+ }; |
+ SampleProcessingResult ProcessOneSample(); |
ProfileGenerator* generator_; |
Sampler* sampler_; |