core/metrics.hpp file

Metrics and profiling utilities and macros.

Namespaces

namespace cubos
Cubos libraries namespace.
namespace cubos::core
Core namespace.

Classes

class cubos::core::Metrics
Singleton class that manages a collection of metrics.
class cubos::core::ScopeProfiler
Utility to measure the execution time of a scope.

Defines

#define CUBOS_METRIC(...)
Macro to add a metric.
#define CUBOS_PROFILE(...)
Macro to measure the execution time of a function/scope, registering it as a metric.