#include <fbprofiler.h>
Time event information is collected during sampling (activated with a property in FBProfiler ActiveSampling). Events that can be collected are: render, evaluation, model evaluation, model deformation, synchronization of evaluation and rendering, playback commands, etc.
Sampling will stop when the buffers maximum size is reached (maximum is 10MB).
Currently users are not able to register any new events from ORSDK/python
Definition at line 184 of file fbprofiler.h.
Public Member Functions |
|
FBTime | GetTime () |
Get the time when the event occurred.
|
|
const float * | GetColor () |
Get the color assigned to the event.
|
|
const char * | GetTypeName () |
Get the event registered type name. |
|
const char * | GetComment () |
Get the comment for the event. |
|
int | GetThreadID () |
Get the thread ID used in the event
execution. |
|
bool | IsSingleEvent () |
Three types of events exits: single, start
and end. |
FBTime FBProfileTimeEvent::GetTime | ( | ) |
Get the time when the event occurred.
const float* FBProfileTimeEvent::GetColor | ( | ) |
Get the color assigned to the event.
const char* FBProfileTimeEvent::GetTypeName | ( | ) |
Get the event registered type name.
const char* FBProfileTimeEvent::GetComment | ( | ) |
int FBProfileTimeEvent::GetThreadID | ( | ) |
Get the thread ID used in the event execution.
bool FBProfileTimeEvent::IsSingleEvent | ( | ) |
Three types of events exits: single, start and end.
Some actions that takes more time to execute or when other events can occur inbetween are collected with start time event at begin and end time event at finish.