aboutsummaryrefslogtreecommitdiff
path: root/c/debug.h
blob: d539573ca219669d2516dbe22a4520eb6d87ff26 (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* szName, int iId, int iAvgMax);
	~Benchmark();
	void Disable();
	long long ticks;
	bool disabled = false;
	int id;
	int avgmax;
	const char* name;
};

const char* SzFromUmsg(unsigned uMsg);

#endif