Open 3D Engine Streamer Gem 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.
Streamer::StreamerProfilerSystemComponent Class Referencefinal

Inherits AZ::Component, and AZ::IO::IStreamerProfiler.

Classes

class  GraphStore
 

Public Member Functions

 AZ_COMPONENT (StreamerProfilerSystemComponent, "{6b5a5e7f-81ee-4fb1-a005-107773dfc531}")
 
void DrawStatistics (bool &keepDrawing) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Protected Types

using FullStatName = AZStd::fixed_string< 1024 >
 
using StatsContainer = AZStd::vector< AZ::IO::Statistic >
 

Protected Member Functions

void Init () override
 
void Activate () override
 
void Deactivate () override
 
void DrawLiveStats (AZ::IO::IStreamer &streamer)
 
void DrawHardwareInfo (AZ::IO::IStreamer &streamer)
 
void DrawStackConfiguration (AZ::IO::IStreamer &streamer)
 
void DrawFileLocks (AZ::IO::IStreamer &streamer)
 
void DrawGraph (const AZ::IO::Statistic::Value &value, GraphStore &values, bool useHistogram)
 
void DrawStatisticValue (const AZ::IO::Statistic::Value &value, float capturedMin=AZStd::numeric_limits< float >::max(), float capturedMax=AZStd::numeric_limits< float >::min())
 

Static Protected Member Functions

static void AppendByteSize (AZStd::fixed_string< 256 > &text, AZ::u64 value)
 
static void AppendTime (AZStd::fixed_string< 256 > &text, AZ::IO::Statistic::TimeValue value)
 
static void AppendBytesPerSecond (AZStd::fixed_string< 256 > &text, double value)
 
static GraphStore CreateGraph (const AZ::IO::Statistic::Value &value)
 
static void DrawToolTip (AZStd::string_view text)
 
static void DrawToolTipV (const char *text,...)
 

Protected Attributes

AZStd::unordered_map< FullStatName, GraphStorem_graphInfo
 
StatsContainer m_stats
 
StatsContainer m_stackConfiguration
 
StatsContainer m_fileLocks [2]
 
StatsContainer * m_readingFileLocks { m_fileLocks }
 
AZStd::atomic< StatsContainer * > m_transferFileLocks { }
 
StatsContainer * m_displayingFileLocks { m_fileLocks + 1}
 
AZStd::atomic_bool m_stackConfigurationAvailable { false }
 

Static Protected Attributes

static constexpr size_t GraphStoreElementCount = 256
 

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