mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-28 09:08:21 +08:00
24 lines
490 B
C++
24 lines
490 B
C++
#define IGNORE_GLOBALS_DECLARATION
|
|
#include "globals.h"
|
|
#undef IGNORE_GLOBALS_DECLARATION
|
|
|
|
namespace profiler_gui {
|
|
|
|
ProfGlobals& ProfGlobals::instance()
|
|
{
|
|
static ProfGlobals globals;
|
|
return globals;
|
|
}
|
|
|
|
ProfGlobals::ProfGlobals()
|
|
: selected_thread(0)
|
|
, selected_block(-1)
|
|
, draw_graphics_items_borders(true)
|
|
{
|
|
|
|
}
|
|
|
|
} // END of namespace profiler_gui.
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|