The armarx::Profiler::Profiler class can be used for timing executions within the ArmarX framework.
More...
#include <ArmarXCore/core/services/profiler/Profiler.h>
The armarx::Profiler::Profiler class can be used for timing executions within the ArmarX framework.
The armarx::Profiler::Profiler class provides methods for logging events and statechart transitions. Changing the logging behavior requires calling armarx::Profiler::Profiler::setLoggingStrategy() with a specialized implementation of armarx::Profiler::LoggingStrategy. By default, all calls to log functions are ignored.
◆ EventTypeMap
◆ EventType
◆ Profiler()
◆ ~Profiler()
◆ GetEventName()
◆ logEvent()
| void logEvent |
( |
Profiler::EventType | eventType, |
|
|
const std::string & | parentName, |
|
|
const std::string & | functionName ) |
◆ logProcessCpuUsage()
| void logProcessCpuUsage |
( |
float | cpuUsage | ) |
|
◆ logProcessMemoryUsage()
| void logProcessMemoryUsage |
( |
int | memoryUsage | ) |
|
◆ logStatechartInputParameters()
| void logStatechartInputParameters |
( |
const std::string & | stateIdentifier, |
|
|
const armarx::StateParameterMap & | inputParameterMap ) |
◆ logStatechartLocalParameters()
| void logStatechartLocalParameters |
( |
const std::string & | stateIdentifier, |
|
|
const armarx::StateParameterMap & | localParameterMap ) |
◆ logStatechartOutputParameters()
| void logStatechartOutputParameters |
( |
const std::string & | stateIdentifier, |
|
|
const armarx::StateParameterMap & | outputParameterMap ) |
◆ logStatechartTransition()
| void logStatechartTransition |
( |
const std::string & | parentStateIdentifier, |
|
|
const StateIceBasePtr & | sourceState, |
|
|
const StateIceBasePtr & | destinationState, |
|
|
const std::string & | eventName ) |
◆ logStatechartTransitionWithParameters()
| void logStatechartTransitionWithParameters |
( |
const TransitionIceBase & | transition | ) |
|
◆ reset()
reset reinitializes armarx::Profiler::Profiler::startTime with the current time.
◆ setLoggingStrategy()
◆ setName()
| void setName |
( |
const std::string & | profilerName | ) |
|
◆ profilerName
The documentation for this class was generated from the following files: