summaryrefslogtreecommitdiff
path: root/bench/main.hpp
blob: ee0e1e35932945f429e7be0cfef35915160d7d53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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