Editar

Compartir vía


PartyProfilingMethodExitCallback

A callback invoked every time the Party library is about to exit an instrumented method.

Syntax

typedef
void (*PartyProfilingMethodExitCallback)(  
    const PartyProfilingMethodExitEventData* eventData  
)  

Parameters

eventData   PartyProfilingMethodExitEventData*

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
PartyProfilingMethodExitEventData
PartyManager::SetProfilingCallbacksForMethodEntryExit
PartyManager::GetProfilingCallbacksForMethodEntryExit