summaryrefslogtreecommitdiff
path: root/src/include/debug_inner.hpp
blob: 669945a305eefa3946e585d6797c7debf2be764e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 */
#pragma once
#include <ctime>
#include <initializer_list>

extern void debug_init_phases(const char* env_var_name, std::initializer_list<const char*> il);

class DebugTimedPhase
{
    const char* m_name;
    clock_t m_start;
public:
    DebugTimedPhase(const char* name);
    ~DebugTimedPhase();
};