sleep_action.h 461 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "probe.h"
  3. namespace NLWTrace {
  4. namespace NPrivate {
  5. class TSleepActionExecutor: public IExecutor {
  6. private:
  7. ui64 NanoSeconds;
  8. public:
  9. TSleepActionExecutor(const TProbe*, ui64 nanoSeconds)
  10. : IExecutor()
  11. , NanoSeconds(nanoSeconds)
  12. {
  13. }
  14. bool DoExecute(TOrbit& orbit, const TParams& params) override;
  15. };
  16. }
  17. }