scram::Timer
Automatic (scoped) timer to log process duration. More...
#include <logger.h>
Public Functions
| Name | |
|---|---|
| Timer(const char * process_name) | |
| ~Timer()<br>Puts the accumulated time into the logs. |
Detailed Description
cpp
template <LogLevel Level>
class scram::Timer;Automatic (scoped) timer to log process duration.
Public Functions Documentation
function Timer
cpp
inline explicit Timer(
const char * process_name
)Parameters:
- process_name The process being logged.
function ~Timer
cpp
inline ~Timer()Puts the accumulated time into the logs.
Updated on 2025-11-11 at 16:51:07 +0000
