farm-ng-core
farm_ng::ScopedTimer Struct Reference

Stopwatch for a single, named timer. More...

#include <stopwatch.h>

Public Member Functions

 ScopedTimer (std::string str)
 Default constructor, requires timer name. More...
 
 ~ScopedTimer ()
 Destructor that returns the timer duration. More...
 

Detailed Description

Stopwatch for a single, named timer.

Constructor & Destructor Documentation

◆ ScopedTimer()

farm_ng::ScopedTimer::ScopedTimer ( std::string  str)
inline

Default constructor, requires timer name.

◆ ~ScopedTimer()

farm_ng::ScopedTimer::~ScopedTimer ( )
inline

Destructor that returns the timer duration.


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