FpsMetrics.ixx File
Module defining the FpsMetrics class for frame rate analysis and monitoring. More...
Included Headers
#include <deque>
#include <numeric>
#include <helios.engine.tooling.FrameStats>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | tooling |
|
Tooling utilities for diagnostics, metrics and developer overlays. More... | |
Classes Index
| class | FpsMetrics |
|
Aggregates and analyzes frame timing data over a rolling window. More... | |
Description
Module defining the FpsMetrics class for frame rate analysis and monitoring.
File Listing
The file content with the documentation metadata removed is:
14export namespace helios::engine::tooling {
40 class FpsMetrics {
181 void addFrame(const helios::engine::tooling::FrameStats& stats) {
203 void setHistorySize(size_t size) {
216 [[nodiscard]] size_t getHistorySize() const noexcept {
240 [[nodiscard]] float getFrameTimeMs() noexcept {
252 [[nodiscard]] float getWorkTimeMs() noexcept {
264 [[nodiscard]] float getIdleTimeMs() noexcept {
274 [[nodiscard]] unsigned long long getFrameCount() const noexcept {
286 [[nodiscard]] float getFrameTimeSeconds() noexcept {
299 [[nodiscard]] float getWorkTimeSeconds() noexcept {
312 [[nodiscard]] float getIdleTimeSeconds() noexcept {
326 [[nodiscard]] const std::deque<helios::engine::tooling::FrameStats>& getHistory() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.