aboutsummaryrefslogtreecommitdiff
path: root/c/debug.h
blob: 83ff28962bb960e42804f6e04c4df59fd120c707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef DEBUG_H
#define DEBUG_H

struct Benchmark
{
	Benchmark(const char* name, int id, int avgmax);
	~Benchmark();
	void Disable();
	long long ticks;
	bool disabled = false;
	int id;
	int avgmax;
	const char* name;
};

const char* MsgName(unsigned uMsg);

#endif