MyraMath
Public Member Functions | List of all members
myra::Stopwatch Class Reference

A multishot timing class, delegates to Timer. More...

#include <Stopwatch.h>

Public Member Functions

 Stopwatch ()
 Constructor, initializes total time to zero.
 
void start ()
 Bookend around a function to be timed.
 
void stop ()
 
double read () const
 Returns the total time accumulated over all start/stop pairs.
 

Detailed Description

A multishot timing class, delegates to Timer.


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