]> git.cworth.org Git - apitrace/blobdiff - os.hpp
Understand D3DFMT_RAWZ too.
[apitrace] / os.hpp
diff --git a/os.hpp b/os.hpp
index 52f70eb5a772275a5b4992d2a6e20204a6245445..42a3daac7ce7cf09f80359c424530daded40f190 100644 (file)
--- a/os.hpp
+++ b/os.hpp
  *
  **************************************************************************/
 
+/*
+ * Simple OS abstraction layer.
+ */
+
 #ifndef _OS_HPP_
 #define _OS_HPP_
 
 #include <stdlib.h>
 #include <stdarg.h>
+#include <stdio.h>
 
 #ifdef WIN32
 #ifndef snprintf
@@ -56,6 +61,11 @@ bool GetCurrentDir(char *str, size_t size);
 
 void DebugMessage(const char *format, ...);
 
+/**
+ * Get the current time in microseconds from an unknown base.
+ */
+long long GetTime(void);
+
 void Abort(void);
 
 } /* namespace OS */