RavEngine
Loading...
Searching...
No Matches
physx::profile::PxProfileEventSender Class Referenceabstract

Sends the full events where the caller must provide the context and thread id. More...

#include <PxProfileEventSender.h>

Inheritance diagram for physx::profile::PxProfileEventSender:
[legend]

Public Member Functions

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 client side.
 
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 client side.
 
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 client side.
 
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 client side.
 
virtual void atEvent (uint16_t inId, uint64_t contextId, uint32_t threadId, uint64_t start, uint64_t stop)=0
 
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 recorded and kept around without a timestamp associated with it. This value is displayed when the event itself is processed.
 

Static Public Attributes

static const uint32_t CrossThreadId = 99999789
 Use this as a thread id for events that start on one thread and end on another.
 

Detailed Description

Sends the full events where the caller must provide the context and thread id.

Member Function Documentation

◆ eventValue()

virtual void physx::profile::PxProfileEventSender::eventValue ( uint16_t  inId,
uint64_t  contextId,
int64_t  inValue 
)
pure virtual

Set an specific events value. This is different than the profiling value for the event; it is a value recorded and kept around without a timestamp associated with it. This value is displayed when the event itself is processed.

Parameters
inIdProfile event id.
contextIdContext id.
inValueValue to set for the event.

Implemented in physx::profile::ZoneImpl< TNameProvider >.

◆ startEvent() [1/2]

virtual void physx::profile::PxProfileEventSender::startEvent ( uint16_t  inId,
uint64_t  contextId 
)
pure virtual

Send a start profile event, optionally with a context. Events are sorted by thread and context in the client side.

Parameters
inIdProfile event id.
contextIdContext id.

Implemented in physx::profile::ZoneImpl< TNameProvider >.

◆ startEvent() [2/2]

virtual void physx::profile::PxProfileEventSender::startEvent ( uint16_t  inId,
uint64_t  contextId,
uint32_t  threadId 
)
pure virtual

Send a start profile event, optionally with a context. Events are sorted by thread and context in the client side.

Parameters
inIdProfile event id.
contextIdContext id.
threadIdThread id.

Implemented in physx::profile::ZoneImpl< TNameProvider >.

◆ stopEvent() [1/2]

virtual void physx::profile::PxProfileEventSender::stopEvent ( uint16_t  inId,
uint64_t  contextId 
)
pure virtual

Send a stop profile event, optionally with a context. Events are sorted by thread and context in the client side.

Parameters
inIdProfile event id.
contextIdContext id.

Implemented in physx::profile::ZoneImpl< TNameProvider >.

◆ stopEvent() [2/2]

virtual void physx::profile::PxProfileEventSender::stopEvent ( uint16_t  inId,
uint64_t  contextId,
uint32_t  threadId 
)
pure virtual

Send a stop profile event, optionally with a context. Events are sorted by thread and context in the client side.

Parameters
inIdProfile event id.
contextIdContext id.
threadIdThread id.

Implemented in physx::profile::ZoneImpl< TNameProvider >.


The documentation for this class was generated from the following file: