]> git.saurik.com Git - apple/system_cmds.git/blobdiff - kdprof/SleepAction.hpp
system_cmds-643.30.1.tar.gz
[apple/system_cmds.git] / kdprof / SleepAction.hpp
diff --git a/kdprof/SleepAction.hpp b/kdprof/SleepAction.hpp
new file mode 100644 (file)
index 0000000..8dd9bbf
--- /dev/null
@@ -0,0 +1,21 @@
+//
+//  SleepAction.hpp
+//  kdprof
+//
+//  Created by James McIlree on 4/16/13.
+//  Copyright (c) 2013 Apple. All rights reserved.
+//
+
+#ifndef kdprof_SleepAction_hpp
+#define kdprof_SleepAction_hpp
+
+class SleepAction : public Action {
+       NanoTime _time;
+       
+    public:
+       SleepAction(NanoTime t) : _time(t) {}
+
+       virtual void execute(Globals& globals);
+};
+
+#endif