gwnavruntime/visualdebug/internal/visualdebugstat.h Source File
Go to the documentation of this file.
21 class VisualDebugStats
25 : m_name(name), m_current(current), m_average(average), m_max(max), m_min(min) {}
35 class VisualDebugSingleUInt32
38 VisualDebugSingleUInt32(
const char* name,
KyUInt32 value)
39 : m_name(name), m_value(value)
47 class VisualDebugSingleInt32
50 VisualDebugSingleInt32(
const char* name,
KyInt32 value)
51 : m_name(name), m_value(value) {}
58 class VisualDebugSingleFloat32
61 VisualDebugSingleFloat32(
const char* name,
KyFloat32 value)
62 : m_name(name), m_value(value) {}
70 class VisualDebugSingleString
73 VisualDebugSingleString(
const char* name,
const char* value)
74 : m_name(name), m_value(value) {}
80 class VisualDebugStatGroup
84 VisualDebugStatGroup() : m_name("") {}
86 VisualDebugStatGroup(
const char* name) : m_name(name) {}
88 void AddUInt32(
const char* statName,
KyUInt32 value)
89 { m_singleUInt32.PushBack(VisualDebugSingleUInt32(statName, value)); }
91 void AddInt32(
const char* statName,
KyInt32 value)
92 { m_singleInt32.PushBack(VisualDebugSingleInt32(statName, value)); }
94 void AddFloat32(
const char* statName,
KyFloat32 value)
95 { m_singleFloat32.PushBack(VisualDebugSingleFloat32(statName, value)); }
97 void AddString(
const char* statName, String value)
98 { m_singleString.PushBack(VisualDebugSingleString(statName, value)); }
101 { m_stats.PushBack(VisualDebugStats(statName, value, average, max, min)); }
103 void Map(BlobFieldsMapping& mapping);
107 KyArray<VisualDebugStats> m_stats;
108 KyArray<VisualDebugSingleUInt32> m_singleUInt32;
109 KyArray<VisualDebugSingleInt32> m_singleInt32;
110 KyArray<VisualDebugSingleFloat32> m_singleFloat32;
111 KyArray<VisualDebugSingleString> m_singleString;
115 class SentBlobTypeStats
119 SentBlobTypeStats(const
char* name);
125 void SetMinMax(
KyUInt32 sendSize );
132 BlobMultiField32Mapping m_statMapping;
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
std::int32_t KyInt32
int32_t
Definition: types.h:24
float KyFloat32
float
Definition: types.h:32