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.
#include <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 * | 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 GetTime | ( | ) |
Get the time when the event occurred.
const float* GetColor | ( | ) |
Get the color assigned to the event.
const char* GetComment | ( | ) |
int GetThreadID | ( | ) |
Get the thread ID used in the event execution.
bool 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.