summaryrefslogtreecommitdiff
path: root/bench/main.hpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-05-29 16:36:19 -0400
committerBenji Dial <benji@benjidial.net>2023-05-29 16:36:19 -0400
commit97c79ff771d4993e322d0d6c44f265180797b2eb (patch)
tree5513cf25721cf21c06efd913ed2f82b980e3cb24 /bench/main.hpp
parent338549f9cd49fa0f3001826c6605663fa6dd019b (diff)
downloadlib94-97c79ff771d4993e322d0d6c44f265180797b2eb.tar.gz
a whole lot more
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