cubos::core::ScopeProfiler class

Utility to measure the execution time of a scope.

This class measures the time between its construction and destruction, providing a way to profile code execution time.

Constructors, destructors, conversion operators

ScopeProfiler(std::string name, std::string file, std::size_t line)
Construct a ScopeProfiler with a given name.
~ScopeProfiler()
Destruct the ScopeProfiler and calculate the elapsed time.