8typedef std::chrono::high_resolution_clock::time_point
TimeVar;
10#define duration(a) std::chrono::duration_cast<std::chrono::milliseconds>(a).count()
11#define timeNow() std::chrono::high_resolution_clock::now()
12#define since(a) duration(timeNow() - a)
14#ifndef DISABLE_TRACING
15#define TRACE(name, function_call) TimeVar STRCAT(t, __LINE__) = timeNow(); function_call printf("%s : %ldms\n", name, since(STRCAT(t, __LINE__)));
17#define TRACE(name, function_call) function_call
std::chrono::high_resolution_clock::time_point TimeVar