summaryrefslogtreecommitdiff
path: root/bench/main.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/main.hpp')
-rw-r--r--bench/main.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/bench/main.hpp b/bench/main.hpp
new file mode 100644
index 0000000..ee0e1e3
--- /dev/null
+++ b/bench/main.hpp
@@ -0,0 +1,16 @@
+#ifndef LIB94_BENCH_MAIN_HPP
+#define LIB94_BENCH_MAIN_HPP
+
+#include <lib94/lib94.hpp>
+#include <chrono>
+#include <vector>
+#include <mutex>
+
+extern std::vector<lib94::warrior *> warriors;
+extern std::chrono::milliseconds time_between_steps;
+extern std::mutex core_mutex;
+
+std::string ns_to_string(std::chrono::nanoseconds dur);
+std::string hz_to_string(double rate);
+
+#endif