The pure virtual callback interface for general purpose instrumentation and profiling of GameWorks modules as well as applications.
More...
#include <PxProfiler.h>
|
| virtual void * | zoneStart (const char *eventName, bool detached, uint64_t contextId)=0 |
| | Mark the beginning of a nested profile block.
|
| |
| virtual void | zoneEnd (void *profilerData, const char *eventName, bool detached, uint64_t contextId)=0 |
| | Mark the end of a nested profile block.
|
| |
| virtual void * | zoneStart (const char *eventName, bool detached, uint64_t contextId)=0 |
| | Mark the beginning of a nested profile block.
|
| |
| virtual void | zoneEnd (void *profilerData, const char *eventName, bool detached, uint64_t contextId)=0 |
| | Mark the end of a nested profile block.
|
| |
The pure virtual callback interface for general purpose instrumentation and profiling of GameWorks modules as well as applications.
◆ zoneEnd() [1/2]
| virtual void physx::PxProfilerCallback::zoneEnd |
( |
void * |
profilerData, |
|
|
const char * |
eventName, |
|
|
bool |
detached, |
|
|
uint64_t |
contextId |
|
) |
| |
|
pure virtual |
Mark the end of a nested profile block.
- Parameters
-
| [in] | profilerData | The data returned by the corresponding zoneStart call (or NULL if not available) |
| [in] | eventName | The name of the zone ending, must match the corresponding name passed with 'zoneStart'. Must be a persistent const char *. |
| [in] | detached | True for cross thread events. Should match the value passed to zoneStart. |
| [in] | contextId | The context of this zone. Should match the value passed to zoneStart. |
- Note
- eventName plus contextId can be used to uniquely match up start and end of a zone.
Implemented in CustomProfilerCallback, and physx::pvdsdk::PvdImpl.
◆ zoneEnd() [2/2]
| virtual void physx::PxProfilerCallback::zoneEnd |
( |
void * |
profilerData, |
|
|
const char * |
eventName, |
|
|
bool |
detached, |
|
|
uint64_t |
contextId |
|
) |
| |
|
pure virtual |
Mark the end of a nested profile block.
- Parameters
-
| [in] | profilerData | The data returned by the corresponding zoneStart call (or NULL if not available) |
| [in] | eventName | The name of the zone ending, must match the corresponding name passed with 'zoneStart'. Must be a persistent const char *. |
| [in] | detached | True for cross thread events. Should match the value passed to zoneStart. |
| [in] | contextId | The context of this zone. Should match the value passed to zoneStart. |
- Note
- eventName plus contextId can be used to uniquely match up start and end of a zone.
Implemented in CustomProfilerCallback, and physx::pvdsdk::PvdImpl.
◆ zoneStart() [1/2]
| virtual void * physx::PxProfilerCallback::zoneStart |
( |
const char * |
eventName, |
|
|
bool |
detached, |
|
|
uint64_t |
contextId |
|
) |
| |
|
pure virtual |
Mark the beginning of a nested profile block.
- Parameters
-
| [in] | eventName | Event name. Must be a persistent const char * |
| [in] | detached | True for cross thread events |
| [in] | contextId | the context id of this zone. Zones with the same id belong to the same group. 0 is used for no specific group. |
- Returns
- Returns implementation-specific profiler data for this event
Implemented in CustomProfilerCallback, and physx::pvdsdk::PvdImpl.
◆ zoneStart() [2/2]
| virtual void * physx::PxProfilerCallback::zoneStart |
( |
const char * |
eventName, |
|
|
bool |
detached, |
|
|
uint64_t |
contextId |
|
) |
| |
|
pure virtual |
Mark the beginning of a nested profile block.
- Parameters
-
| [in] | eventName | Event name. Must be a persistent const char * |
| [in] | detached | True for cross thread events |
| [in] | contextId | the context id of this zone. Zones with the same id belong to the same group. 0 is used for no specific group. |
- Returns
- Returns implementation-specific profiler data for this event
Implemented in CustomProfilerCallback, and physx::pvdsdk::PvdImpl.
The documentation for this class was generated from the following files:
- RavEngine/deps/physx/physx/include/foundation/PxProfiler.h
- RavEngine/deps/physx/pxshared/include/foundation/PxProfiler.h