]> git.saurik.com Git - apple/system_cmds.git/blobdiff - CPPUtil/UtilTime.hpp
system_cmds-643.30.1.tar.gz
[apple/system_cmds.git] / CPPUtil / UtilTime.hpp
diff --git a/CPPUtil/UtilTime.hpp b/CPPUtil/UtilTime.hpp
new file mode 100644 (file)
index 0000000..6662db3
--- /dev/null
@@ -0,0 +1,21 @@
+//
+//  UtilTime.hpp
+//  CPPUtil
+//
+//  Created by James McIlree on 4/14/13.
+//  Copyright (c) 2013 Apple. All rights reserved.
+//
+
+#ifndef CPPUtil_UtilTime_hpp
+#define CPPUtil_UtilTime_hpp
+
+static const uint64_t NANOSECONDS_PER_MICROSECOND = 1000ULL;
+static const uint64_t NANOSECONDS_PER_MILLISECOND = 1000000ULL;
+static const uint64_t NANOSECONDS_PER_SECOND = 1000000000ULL;
+
+static const uint64_t MICROSECONDS_PER_MILLISECOND = 1000ULL;
+static const uint64_t MICROSECONDS_PER_SECOND = 1000000ULL;
+
+static const uint64_t MILLISECONDS_PER_SECOND = 1000ULL;
+
+#endif