SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::BenchmarkMetric Struct Reference

#include <Benchmark.hpp>

Public Attributes

std::function< float()> Getter
std::string Name

Detailed Description

A custom metric that the game module (or anyone) can register.

Definition at line 16 of file Benchmark.hpp.

Member Data Documentation

◆ Getter

std::function<float()> Sleak::BenchmarkMetric::Getter

Definition at line 18 of file Benchmark.hpp.

◆ Name

std::string Sleak::BenchmarkMetric::Name

Definition at line 17 of file Benchmark.hpp.