Lagrange
SilentTimer Class Reference

A timer that does not print after tock() More...

#include <lagrange/utils/timing.h>

Public Member Functions

void tick ()
 Starts the timer.
 
double tock (const std::string name="")
 Stops the timer. More...
 

Detailed Description

A timer that does not print after tock()

Member Function Documentation

◆ tock()

double tock ( const std::string  name = "")
inline

Stops the timer.

Returns
The elapsed time in seconds.

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