tess 0.4.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::diagnostics::ScopedTimer Class Reference

#include <tess/diagnostics/trace.h>

Public Member Functions

 ScopedTimer (TraceCategory category, std::string_view label) noexcept
 ScopedTimer (const ScopedTimer &)=delete
auto operator= (const ScopedTimer &) -> ScopedTimer &=delete

Detailed Description

Measures a scope against the trace buffer active at construction.

Destruction accumulates elapsed nanoseconds and appends a record carrying that duration. Installing another buffer while the timer lives does not change its target.


The documentation for this class was generated from the following file: