27#ifndef PX_PROFILE_EVENT_SENDER_H
28#define PX_PROFILE_EVENT_SENDER_H
30#include "foundation/Px.h"
32namespace physx {
namespace profile {
69 virtual void startEvent( uint16_t inId, uint64_t contextId) = 0;
76 virtual void stopEvent( uint16_t inId, uint64_t contextId) = 0;
85 virtual void startEvent( uint16_t inId, uint64_t contextId, uint32_t threadId) = 0;
93 virtual void stopEvent( uint16_t inId, uint64_t contextId, uint32_t threadId ) = 0;
95 virtual void atEvent(uint16_t inId, uint64_t contextId, uint32_t threadId, uint64_t start, uint64_t stop) = 0;
105 virtual void eventValue( uint16_t inId, uint64_t contextId, int64_t inValue ) = 0;
Tagging interface to indicate an object that is capable of flushing a profile event stream at a certa...
Definition PxProfileEventSender.h:39
virtual void flushProfileEvents()=0
Flush profile events. Sends the profile event buffer to hooked clients.
Sends the full events where the caller must provide the context and thread id.
Definition PxProfileEventSender.h:53
virtual void startEvent(uint16_t inId, uint64_t contextId)=0
Send a start profile event, optionally with a context. Events are sorted by thread and context in the...
virtual void stopEvent(uint16_t inId, uint64_t contextId, uint32_t threadId)=0
Send a stop profile event, optionally with a context. Events are sorted by thread and context in the ...
virtual void stopEvent(uint16_t inId, uint64_t contextId)=0
Send a stop profile event, optionally with a context. Events are sorted by thread and context in the ...
virtual void startEvent(uint16_t inId, uint64_t contextId, uint32_t threadId)=0
Send a start profile event, optionally with a context. Events are sorted by thread and context in the...
static const uint32_t CrossThreadId
Use this as a thread id for events that start on one thread and end on another.
Definition PxProfileEventSender.h:61
virtual void eventValue(uint16_t inId, uint64_t contextId, int64_t inValue)=0
Set an specific events value. This is different than the profiling value for the event; it is a value...
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39