aboutsummaryrefslogtreecommitdiff
path: root/c/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/debug.h')
-rw-r--r--c/debug.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/c/debug.h b/c/debug.h
new file mode 100644
index 0000000..d539573
--- /dev/null
+++ b/c/debug.h
@@ -0,0 +1,18 @@
+#ifndef DEBUG_H
+#define DEBUG_H
+
+struct Benchmark
+{
+ Benchmark(const char* szName, int iId, int iAvgMax);
+ ~Benchmark();
+ void Disable();
+ long long ticks;
+ bool disabled = false;
+ int id;
+ int avgmax;
+ const char* name;
+};
+
+const char* SzFromUmsg(unsigned uMsg);
+
+#endif