Registry
ug4Bridge::Util::Profiler Namespace Reference

Classes

class  UGProfileNode
 

Functions

const UGProfileNodeGetProfileNode (const char *name)
 if root = null, return More...
 
bool GetProfilerAvailable ()
 
void SetFrequency (std::string CSV-File)
 
void SetOutputProfileStats (bool bOutput)
 if set to true and profiler available, profile stats are printed at the end of the program. true is default More...
 
void SetShinyCallLoggingMaxFrequency (int maxFreq)
 
void UpdateProfiler (double unnamed)
 
void WriteCallLog (const char *filename)
 writes txt file with call log More...
 
void WriteProfileData (const char *filename)
 writes a XML-file with profile data viewable with the ShinyProfileViewer. Pick a filename ending with .pdxml More...
 

Function Documentation

◆ GetProfileNode()

const UGProfileNode* ug4Bridge::Util::Profiler::GetProfileNode ( const char *  name)

if root = null, return

Parameters
[in]name
Returns
a profile node

◆ GetProfilerAvailable()

bool ug4Bridge::Util::Profiler::GetProfilerAvailable ( )
Returns
true if profiler available

◆ SetFrequency()

void ug4Bridge::Util::Profiler::SetFrequency ( std::string CSV-  File)
Parameters
[in]CSV-File

◆ SetOutputProfileStats()

void ug4Bridge::Util::Profiler::SetOutputProfileStats ( bool  bOutput)

if set to true and profiler available, profile stats are printed at the end of the program. true is default

Parameters
[in]bOutput

◆ SetShinyCallLoggingMaxFrequency()

void ug4Bridge::Util::Profiler::SetShinyCallLoggingMaxFrequency ( int  maxFreq)
Parameters
[in]maxFreq

◆ UpdateProfiler()

void ug4Bridge::Util::Profiler::UpdateProfiler ( double  unnamed)
Parameters
[in]unnamed

◆ WriteCallLog()

void ug4Bridge::Util::Profiler::WriteCallLog ( const char *  filename)

writes txt file with call log

Parameters
[in]filename

◆ WriteProfileData()

void ug4Bridge::Util::Profiler::WriteProfileData ( const char *  filename)

writes a XML-file with profile data viewable with the ShinyProfileViewer. Pick a filename ending with .pdxml

Parameters
[in]filename