iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::Timer::Timed Class Reference

RAII guard that records elapsed time into a non-owning Timer on destruction. More...

#include <timer.h>

Public Member Functions

 Timed (Timer &timer)
 
 Timed (const Timed &)=delete
 
Timedoperator= (const Timed &)=delete
 
 Timed (Timed &&other) noexcept
 
Timedoperator= (Timed &&other) noexcept
 
void Stop ()
 Explicitly stop timing and record the duration.
 

Detailed Description

RAII guard that records elapsed time into a non-owning Timer on destruction.

Member Function Documentation

◆ Stop()

void iceberg::Timer::Timed::Stop ( )

Explicitly stop timing and record the duration.

Subsequent calls (including the destructor) are no-ops.


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