Classes |
|
| class | ProfilerConstant |
| class | Profiler |
| class | ProfileManagerInterface |
| class | ProfilingPoint |
| struct | ProfilingPointHelper< PROFILING_POINT > |
Namespaces |
|
| maxon | |
Macros |
|
| #define | PROFILER_POINT (type, ...) |
| #define | PRIVATE_PROFILER_POINT (counter, type, ...) |
| #define | PRIVATE_PROFILER_POINT2 (counter, type, ...) |
| #define | PROFILER_METHOD_ENTER (...) |
| #define | PROFILER_METHOD_LEAVE (...) |
| #define | PROFILER_SCOPE_ENTER (...) |
| #define | PROFILER_SCOPE_LEAVE (...) |
| #define | PROFILER_DELTA (...) |
| #define | PROFILER_METHOD (...) |
| #define | PROFILER_START (enable) |
| #define | PROFILER_STOP_AND_REPORT (...) |
Enumerations |
|
| enum |
PROFILER_POINT_TYPE
{
NONE , METHOD_ENTER , METHOD_LEAVE , SCOPE_ENTER , SCOPE_LEAVE , DELTA } |
| enum |
PROFILER_STATE
{
DISABLED , ENABLED_METHOD_SCOPE , ENABLED_ALL } |
| enum |
PROFILER_CLOCK_MODE
{
NORMAL , SIMULATED } |
函数 |
|
| enum maxon::PROFILER_POINT_TYPE | MAXON_ENUM_LIST (PROFILER_POINT_TYPE) |
| enum maxon::PROFILER_STATE | MAXON_ENUM_LIST (PROFILER_STATE) |
| enum maxon::PROFILER_CLOCK_MODE | MAXON_ENUM_LIST (PROFILER_CLOCK_MODE) |
| MAXON_DECLARATION ( maxon::Profiler *, ProfilerInstance, "net.maxon.profiler") | |
| #define PROFILER_POINT | ( | type, | |
| ... | |||
| ) |
| #define PRIVATE_PROFILER_POINT | ( | counter, | |
| type, | |||
| ... | |||
| ) |
| #define PRIVATE_PROFILER_POINT2 | ( | counter, | |
| type, | |||
| ... | |||
| ) |
| #define PROFILER_METHOD_ENTER | ( | ... | ) |
| #define PROFILER_METHOD_LEAVE | ( | ... | ) |
| #define PROFILER_SCOPE_ENTER | ( | ... | ) |
| #define PROFILER_SCOPE_LEAVE | ( | ... | ) |
| #define PROFILER_DELTA | ( | ... | ) |
| #define PROFILER_METHOD | ( | ... | ) |
| #define PROFILER_START | ( | enable | ) |
Allow to enable (or disable) the profiler. All trace points are ignored if profiler is not enabled.
| #define PROFILER_STOP_AND_REPORT | ( | ... | ) |
Stops a profiling session and dump the results to the maxon console. After a stop, PROFILER_START must be called again to restart profiling. The macro accepts a string argument which will be part of the profiler trace report header. You can use this to pass a custom formatted string which will contain details about the capture context, for example how many vertices or polygons were processed by the method, etc.
| NONE |
Unspecified.
| METHOD_ENTER |
Enter Method Scope.
| METHOD_LEAVE |
Leave Method Scope.
| SCOPE_ENTER |
Enter Scope.
| SCOPE_LEAVE |
Leave Scope.
| DELTA |
< Delta From Last Visited Point.
| DISABLED |
Disabled.
| ENABLED_METHOD_SCOPE |
Enabled for METHOD_ENTER and METHOD_LEAVE point types.
| ENABLED_ALL |
< Enabled for all point types.
| NORMAL |
Use the system clock.
| SIMULATED |
< Use a simulated clock for profiling purpose