|
tess 0.4.0
Performance-first tile and path simulation substrate
|
#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 |
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.