Index: src/cpu-profiler.h |
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
index 84e34e422e78e2e277ae9766e48efa01a9d5c089..41473d7955474ddf8243ba1cc0cd24c3cade325b 100644 |
--- a/src/cpu-profiler.h |
+++ b/src/cpu-profiler.h |
@@ -138,7 +138,7 @@ class ProfilerEventsProcessor : public Thread { |
public: |
ProfilerEventsProcessor(ProfileGenerator* generator, |
Sampler* sampler, |
- int period_in_useconds); |
+ TimeDelta period); |
virtual ~ProfilerEventsProcessor() {} |
// Thread control. |
@@ -169,7 +169,7 @@ class ProfilerEventsProcessor : public Thread { |
Sampler* sampler_; |
bool running_; |
// Sampling period in microseconds. |
- const int period_in_useconds_; |
+ const TimeDelta period_; |
UnboundQueue<CodeEventsContainer> events_buffer_; |
static const size_t kTickSampleBufferSize = 1 * MB; |
static const size_t kTickSampleQueueLength = |