summaryrefslogtreecommitdiff
path: root/bench/main.hpp
blob: 06243e3db02fb329db0c0c5e80bb5bf348446dcb (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::nanoseconds 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