Redigera

Dela via


PartyProfilingMethodEntranceCallback

A callback invoked every time the Party library enters an instrumented method.

Syntax

typedef
void (*PartyProfilingMethodEntranceCallback)(  
    const PartyProfilingMethodEntranceEventData* eventData  
)  

Parameters

eventData   PartyProfilingMethodEntranceEventData*

A constant pointer to a structure containing additional information which may be of use when profiling this event. The data referenced by this pointer is guaranteed to be valid only for the duration the callback.

Return value

Type: void

The callback does not return a value.

Remarks

This callback is optionally installed using the PartyManager::SetProfilingCallbacksForMethodEntryExit() method, which also details the types of profiled events available to a caller.

In order to minimize the impact of profiling on title performance, callbacks should be kept as lightweight as possible as they are expected to fire hundreds or thousands of times per second.

Requirements

Header: Party.h

See also

Party members
PartyProfilingMethodEntranceEventData
PartyManager::SetProfilingCallbacksForMethodEntryExit
PartyManager::GetProfilingCallbacksForMethodEntryExit