Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Metrics::EventDesc Struct Reference

Public Member Functions

void SetName (AZStd::string_view name)
 
AZStd::string_view GetName () const
 
void SetCategory (AZStd::string_view category)
 
AZStd::string_view GetCategory () const
 
void SetEventPhase (EventPhase phase)
 
EventPhase GetEventPhase () const
 
void SetId (AZStd::optional< AZStd::string_view > id)
 
AZStd::optional< AZStd::string_viewGetId () const
 
void SetTimestamp (AZStd::chrono::microseconds)
 
AZStd::chrono::microseconds GetTimestamp () const
 
void SetThreadTimestamp (AZStd::optional< AZStd::chrono::microseconds >)
 
AZStd::optional< AZStd::chrono::microseconds > GetThreadTimestamp () const
 
void SetProcessId (AZ::Platform::ProcessId processId)
 
AZ::Platform::ProcessId GetProcessId () const
 
void SetThreadId (AZStd::thread::id)
 
AZStd::thread::id GetThreadId () const
 
void SetArgs (AZStd::span< EventField > argsFields)
 Sets the fields of the "args" JSON object on the event description data.
 
EventObjectGetArgs () &
 Gets a reference to the "args" JSON object on the event description data.
 
const EventObjectGetArgs () const &
 
EventObject && GetArgs () &&
 
void SetExtraParams (AZStd::span< EventField > extraParams)
 
AZStd::span< EventFieldGetExtraParams () const
 

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