aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/sleep_action.h
blob: 26f89bd88cf7a9a33b96e12689fb9d7fed2fabfb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "probe.h"

namespace NLWTrace {
    namespace NPrivate {
        class TSleepActionExecutor: public IExecutor {
        private:
            ui64 NanoSeconds;

        public:
            TSleepActionExecutor(const TProbe*, ui64 nanoSeconds)
                : IExecutor()
                , NanoSeconds(nanoSeconds)
            {
            }
            bool DoExecute(TOrbit& orbit, const TParams& params) override;
        };

    }
}