aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/sleep_action.h
blob: 9cece64d40e4360ddffbe142f4b00f906fa22ef5 (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; 
        }; 

    } 
}