Envision
A visual programming IDE for object-oriented languages
List of all members | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
Core::Profiler Class Reference

Static Public Member Functions

static void start (bool condition, const QString &jobName, const QString &fileName)
 
static void startOnce (bool condition, const QString &jobName, const QString &fileName)
 
static void stop (const QString &jobName)
 

Static Private Member Functions

static ProfileJobfindJob (const QString &jobName, const QString &fileName)
 
static void startProfiling ()
 

Static Private Attributes

static ProfileJobcurrentJob_ {nullptr}
 
static QMap< QString, ProfileJob * > jobMap_
 

Member Function Documentation

◆ findJob()

ProfileJob * Core::Profiler::findJob ( const QString &  jobName,
const QString &  fileName 
)
staticprivate

◆ start()

void Core::Profiler::start ( bool  condition,
const QString &  jobName,
const QString &  fileName 
)
static

◆ startOnce()

void Core::Profiler::startOnce ( bool  condition,
const QString &  jobName,
const QString &  fileName 
)
static

◆ startProfiling()

void Core::Profiler::startProfiling ( )
staticprivate

◆ stop()

void Core::Profiler::stop ( const QString &  jobName)
static

Member Data Documentation

◆ currentJob_

ProfileJob * Core::Profiler::currentJob_ {nullptr}
staticprivate

◆ jobMap_

QMap< QString, ProfileJob * > Core::Profiler::jobMap_
staticprivate