27#ifndef PX_PVD_PROFILE_ZONE_H
28#define PX_PVD_PROFILE_ZONE_H
30#include "foundation/PxPreprocessor.h"
32#include "PxProfileEventBufferClientManager.h"
33#include "PxProfileEventNames.h"
34#include "PxProfileEventSender.h"
37 class PxAllocatorCallback;
41 class PxProfileZoneManager;
Abstract base class for an application defined memory allocator that can be used by the Nv library.
Definition PxAllocatorCallback.h:53
Tagging interface to indicate an object that is capable of flushing a profile event stream at a certa...
Definition PxProfileEventSender.h:39
Sends the full events where the caller must provide the context and thread id.
Definition PxProfileEventSender.h:53
Provides a mapping from event ID -> name.
Definition PxProfileEventNames.h:74
Manager keep collections of PxProfileZoneClient clients.
Definition PxProfileEventBufferClientManager.h:69
The profiling system was setup in the expectation that there would be several systems that each had i...
Definition PxProfileZoneManager.h:86
The profiling system was setup in the expectation that there would be several systems that each had i...
Definition PxPvdProfileZone.h:67
virtual uint16_t getEventIdsForNames(const char **inNames, uint32_t inLen)=0
Reserve a contiguous set of profile event ids for a set of names.
virtual void setProfileZoneManager(PxProfileZoneManager *inMgr)=0
Set profile zone manager for the zone.
virtual const char * getName()=0
Get profile zone name.
static PxProfileZone & createProfileZone(PxAllocatorCallback *inAllocator, const char *inSDKName, PxProfileNames inNames=PxProfileNames(), uint32_t inEventBufferByteSize=0x10000)
Create a new profile zone.
Definition PxProfileEventImpl.cpp:45
virtual void release()=0
Release the profile zone.
virtual uint16_t getEventIdForName(const char *inName)=0
Get or create a new event id for a given name. If you pass in a previously defined event name (includ...
virtual void flushEventIdNameMap()=0
Specifies that it is a safe point to flush read-write name map into read-only map....
virtual PxProfileZoneManager * getProfileZoneManager()=0
Get profile zone manager for the zone.
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Aggregator of event id -> name mappings.
Definition PxProfileEventNames.h:54