30#include "foundation/Px.h"
58 virtual void*
zoneStart(
const char* eventName,
bool detached, uint64_t contextId) = 0;
69 virtual void zoneEnd(
void* profilerData,
const char* eventName,
bool detached, uint64_t contextId) = 0;
79 mEventName = eventName;
80 mContextId = contextId;
82 mProfilerData = mCallback->
zoneStart(eventName, detached, contextId);
89 mCallback->
zoneEnd(mProfilerData, mEventName, mDetached, mContextId);
92 const char* mEventName;
Definition PxProfiler.h:73
The pure virtual callback interface for general purpose instrumentation and profiling of GameWorks mo...
Definition PxProfiler.h:42
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.
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39