Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems
Stopwatch Class Reference

Used for measuring elapsed time since object creation. More...

#include <TimeUtils.hpp>

Public Member Functions

 Stopwatch ()
 Construct a Stopwatch object and start measuring time.
 
auto start () -> void
 Start measuring time.
 
auto pause () -> void
 Pause measuring time.
 
auto reset () -> void
 Reset the stopwatch.
 
auto time () const -> double
 Get the accumulated elapsed time (in seconds) between calls to methods start and pause.
 

Detailed Description

Used for measuring elapsed time since object creation.


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