]>
Commit | Line | Data |
---|---|---|
bd6521f0 A |
1 | // |
2 | // SleepAction.hpp | |
3 | // kdprof | |
4 | // | |
5 | // Created by James McIlree on 4/16/13. | |
6 | // Copyright (c) 2013 Apple. All rights reserved. | |
7 | // | |
8 | ||
9 | #ifndef kdprof_SleepAction_hpp | |
10 | #define kdprof_SleepAction_hpp | |
11 | ||
12 | class SleepAction : public Action { | |
13 | NanoTime _time; | |
14 | ||
15 | public: | |
16 | SleepAction(NanoTime t) : _time(t) {} | |
17 | ||
18 | virtual void execute(Globals& globals); | |
19 | }; | |
20 | ||
21 | #endif |