2016-08-03 23:00:04 +03:00
|
|
|
/************************************************************************
|
|
|
|
* file name : globals.cpp
|
|
|
|
* ----------------- :
|
|
|
|
* creation time : 2016/08/03
|
|
|
|
* copyright : (c) 2016 Victor Zarubkin
|
|
|
|
* author : Victor Zarubkin
|
|
|
|
* email : v.s.zarubkin@gmail.com
|
|
|
|
* ----------------- :
|
|
|
|
* description : The file contains implementation of global constants and variables for profiler gui.
|
|
|
|
* ----------------- :
|
|
|
|
* change log : * 2016/08/03 Victor Zarubkin: initial commit.
|
|
|
|
* :
|
|
|
|
* : *
|
|
|
|
* ----------------- :
|
|
|
|
* license : TODO: add license text
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#include "globals.h"
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace profiler_gui {
|
|
|
|
|
|
|
|
ProfGlobalSignals::ProfGlobalSignals() : QObject()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ProfGlobalSignals::~ProfGlobalSignals()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
ProfGlobals& ProfGlobals::instance()
|
|
|
|
{
|
|
|
|
static ProfGlobals globals;
|
|
|
|
return globals;
|
|
|
|
}
|
|
|
|
|
|
|
|
ProfGlobals::ProfGlobals()
|
|
|
|
: selected_thread(0)
|
2016-08-04 22:38:45 +03:00
|
|
|
, selected_block(0)
|
2016-08-03 23:00:04 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} // END of namespace profiler_gui.
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|