22 #ifndef UTILS_PERFSTAT_H
23 #define UTILS_PERFSTAT_H
33 for (
int f = 0; f < 16; f ++)
47 int getTime(
const size_t frameId,
48 const size_t counterId);
59 #define PERF_STAT(n) \
60 perfFrame[n] = tick_time
62 #define PERF_NEXTFRAME() \
static const size_t PERFSTAT_MAX
#define A_DEFAULT_COPY(func)
int getWorstTime(const size_t counterId)
int getTime(const size_t frameId, const size_t counterId)
PerfStats worstFrameStats
PerfStats perfStats[PERFSTAT_MAX]