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::IO::Statistic Class Reference

Classes

struct  ByteSize
 
struct  ByteSizeRange
 
struct  BytesPerSecond
 
struct  FloatRange
 
struct  IntegerRange
 
struct  Percentage
 
struct  PercentageRange
 
struct  Time
 
struct  TimeRange
 

Public Types

enum class  GraphType : u8 { None , Lines , Histogram }
 
using TimeValue = AZStd::chrono::microseconds
 
using Value = AZStd::variant< AZStd::monostate, bool, double, FloatRange, s64, IntegerRange, Percentage, PercentageRange, ByteSize, ByteSizeRange, Time, TimeRange, BytesPerSecond, AZStd::string, AZStd::string_view >
 

Public Member Functions

AZStd::string_view GetOwner () const
 
AZStd::string_view GetName () const
 
AZStd::string_view GetDescription () const
 
const ValueGetValue () const
 
GraphType GetGraphType () const
 

Static Public Member Functions

static Statistic CreateBoolean (AZStd::string_view owner, AZStd::string_view name, bool value, AZStd::string_view description="", GraphType graphType=GraphType::Histogram)
 
static Statistic CreateFloat (AZStd::string_view owner, AZStd::string_view name, double value, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreateFloatRange (AZStd::string_view owner, AZStd::string_view name, double value, double min, double max, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreateInteger (AZStd::string_view owner, AZStd::string_view name, s64 value, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreateIntegerRange (AZStd::string_view owner, AZStd::string_view name, s64 value, s64 min, s64 max, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreatePercentage (AZStd::string_view owner, AZStd::string_view name, double value, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreatePercentageRange (AZStd::string_view owner, AZStd::string_view name, double value, double min, double max, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreateByteSize (AZStd::string_view owner, AZStd::string_view name, u64 value, AZStd::string_view description="", GraphType graphType=GraphType::Histogram)
 
static Statistic CreateByteSizeRange (AZStd::string_view owner, AZStd::string_view name, u64 value, u64 min, u64 max, AZStd::string_view description="", GraphType graphType=GraphType::Histogram)
 
static Statistic CreateTime (AZStd::string_view owner, AZStd::string_view name, TimeValue value, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreateTimeRange (AZStd::string_view owner, AZStd::string_view name, TimeValue value, TimeValue min, TimeValue max, AZStd::string_view description="", GraphType graphType=GraphType::Lines)
 
static Statistic CreateBytesPerSecond (AZStd::string_view owner, AZStd::string_view name, double value, AZStd::string_view description="", GraphType graphType=GraphType::Histogram)
 
static Statistic CreatePersistentString (AZStd::string_view owner, AZStd::string_view name, AZStd::string value, AZStd::string_view description="")
 
static Statistic CreateReferenceString (AZStd::string_view owner, AZStd::string_view name, AZStd::string_view value, AZStd::string_view description="")
 
static void PlotImmediate (AZStd::string_view owner, AZStd::string_view name, double value)
 

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