]> git.saurik.com Git - apple/system_cmds.git/blobdiff - CPPUtil/UtilTimer.hpp
system_cmds-643.30.1.tar.gz
[apple/system_cmds.git] / CPPUtil / UtilTimer.hpp
diff --git a/CPPUtil/UtilTimer.hpp b/CPPUtil/UtilTimer.hpp
new file mode 100644 (file)
index 0000000..4247eab
--- /dev/null
@@ -0,0 +1,23 @@
+//
+//  UtilTimer.h
+//  CPPUtil
+//
+//  Created by James McIlree on 10/9/13.
+//  Copyright (c) 2013 Apple. All rights reserved.
+//
+
+#ifndef __CPPUtil__UtilTimer__
+#define __CPPUtil__UtilTimer__
+
+class Timer {
+    protected:
+       AbsTime _start;
+       AbsTime _end;
+       std::string _message;
+
+    public:
+       Timer(const char* message);
+       ~Timer();
+};
+
+#endif /* defined(__CPPUtil__UtilTimer__) */