instr_count_sampling.h 361 B

123456789101112131415161718
  1. #ifndef __INSTR_COUNT_SAMPLING
  2. #define __INSTR_COUNT_SAMPLING
  3. #include "sampling_provider.h"
  4. class InstrCountSampling : public SamplingProvider
  5. {
  6. public:
  7. virtual void startSampling(SubsecondTime until)
  8. {}
  9. virtual InstrumentLevel::Level requestedInstrumentation()
  10. {
  11. return InstrumentLevel::INSTR;
  12. }
  13. };
  14. #endif /* __INSTR_COUNT_SAMPLING */