| Index: src/log.h
|
| diff --git a/src/log.h b/src/log.h
|
| index 21f387e91b41a0939b15477a92b40a663ea72a7a..9661c63d9fc396ac0d92848e3e29b053b4e655a5 100644
|
| --- a/src/log.h
|
| +++ b/src/log.h
|
| @@ -505,40 +505,6 @@ class Logger {
|
| };
|
|
|
|
|
| -// Process wide registry of samplers.
|
| -class SamplerRegistry : public AllStatic {
|
| - public:
|
| - enum State {
|
| - HAS_NO_SAMPLERS,
|
| - HAS_SAMPLERS,
|
| - HAS_CPU_PROFILING_SAMPLERS
|
| - };
|
| -
|
| - static void SetUp();
|
| -
|
| - typedef void (*VisitSampler)(Sampler*, void*);
|
| -
|
| - static State GetState();
|
| -
|
| - // Iterates over all active samplers keeping the internal lock held.
|
| - // Returns whether there are any active samplers.
|
| - static bool IterateActiveSamplers(VisitSampler func, void* param);
|
| -
|
| - // Adds/Removes an active sampler.
|
| - static void AddActiveSampler(Sampler* sampler);
|
| - static void RemoveActiveSampler(Sampler* sampler);
|
| -
|
| - private:
|
| - static bool ActiveSamplersExist() {
|
| - return active_samplers_ != NULL && !active_samplers_->is_empty();
|
| - }
|
| -
|
| - static List<Sampler*>* active_samplers_;
|
| -
|
| - DISALLOW_IMPLICIT_CONSTRUCTORS(SamplerRegistry);
|
| -};
|
| -
|
| -
|
| // Class that extracts stack trace, used for profiling.
|
| class StackTracer : public AllStatic {
|
| public:
|
|
|