![]() |
Pioneer
|
#include <Stats.h>


Classes | |
| struct | TFrameData |
Public Member Functions | |
| Stats () | |
| ~Stats () | |
| void | AddToStatCount (const StatType type, const uint32_t count) const |
| void | DecStatCount (const StatType type, const uint32_t count) const |
| void | SetStatCount (const StatType type, const uint32_t count) const |
| void | NextFrame () |
| const TFrameData & | FrameStatsPrevious () const |
| const FrameInfo & | GetFullStats () const |
Static Public Attributes | |
| static const Uint32 | MAX_FRAMES_STORE = 30U |
Additional Inherited Members | |
Protected Types inherited from Perf::Stats | |
| using | FrameInfo = std::map< std::string, uint32_t > |
Protected Member Functions inherited from Perf::Stats | |
| CounterRef | GetOrCreateCounter (std::string name, bool resetOnNewFrame=true) |
| void | CounterAdd (CounterRef ref, uint32_t amount=1) const |
| void | CounterDec (CounterRef ref, uint32_t amount=1) const |
| void | CounterSet (CounterRef ref, uint32_t value) const |
| void | CounterReset (CounterRef ref) const |
| void | EnableReset (bool enabled) |
| const FrameInfo & | GetFrameStats () const |
| std::string | GetNameForCounter (CounterRef ref) const |
| void | FlushFrame () |
Graphics::Stats is a wrapper over a PerfStats instance. Use AddToStatCount(Stats::StatType, uint32_t) to easily update renderer stats.
| Graphics::Stats::Stats | ( | ) |

|
inline |
|
inline |

|
inline |

| const Stats::TFrameData & Graphics::Stats::FrameStatsPrevious | ( | ) | const |

|
inline |

| void Graphics::Stats::NextFrame | ( | ) |

|
inline |

|
static |