Ignition Common

API Reference

3.5.0
Profiler.hh File Reference
#include <memory>
#include <string>
#include <ignition/common/profiler/Export.hh>
#include <ignition/common/SingletonT.hh>
#include <ignition/common/config.hh>

Go to the source code of this file.

Classes

class  Profiler
 Used to perform application-wide performance profiling. More...
 
class  ScopedProfile
 Used to provide C++ RAII-style profiling sample. The sample will start on the construction of the ScopedProfile object and stop when the object leaves scope. More...
 

Namespaces

 ignition
 Forward declarations for the common classes.
 
 ignition::common
 

Macros

#define IGN_PROFILE(name)   ((void) name)
 
#define IGN_PROFILE_BEGIN(name)   ((void) name)
 
#define IGN_PROFILE_END()   ((void) 0)
 
#define IGN_PROFILE_L(name, line)   ((void) name)
 
#define IGN_PROFILE_LOG_TEXT(name)   ((void) name)
 
#define IGN_PROFILE_THREAD_NAME(name)   ((void) name)
 
#define IGN_PROFILER_ENABLE   0
 Always set this variable to some value. More...
 
#define IGN_PROFILER_VALID   IGN_PROFILER_ENABLE && Profiler::Instance()->Valid()
 Macro to determine if profiler is enabled and has an implementation. More...
 

Macro Definition Documentation

◆ IGN_PROFILE

#define IGN_PROFILE (   name)    ((void) name)

◆ IGN_PROFILE_BEGIN

#define IGN_PROFILE_BEGIN (   name)    ((void) name)

◆ IGN_PROFILE_END

#define IGN_PROFILE_END ( )    ((void) 0)

◆ IGN_PROFILE_L

#define IGN_PROFILE_L (   name,
  line 
)    ((void) name)

◆ IGN_PROFILE_LOG_TEXT

#define IGN_PROFILE_LOG_TEXT (   name)    ((void) name)

◆ IGN_PROFILE_THREAD_NAME

#define IGN_PROFILE_THREAD_NAME (   name)    ((void) name)

◆ IGN_PROFILER_ENABLE

#define IGN_PROFILER_ENABLE   0

Always set this variable to some value.

◆ IGN_PROFILER_VALID

#define IGN_PROFILER_VALID   IGN_PROFILER_ENABLE && Profiler::Instance()->Valid()

Macro to determine if profiler is enabled and has an implementation.