Carna  Version 3.3.2
Public Member Functions | List of all members
Carna::base::Stopwatch Class Reference

Implements stopwatch using the robust wallclock time from OMP that most compilers support. More...

#include <Stopwatch.h>

Public Member Functions

 Stopwatch ()
 Starts the time measurement.
 
void restart ()
 Restarts the time measurement.
 
double result () const
 Tells result in seconds from current time measurement.
 

Detailed Description

Implements stopwatch using the robust wallclock time from OMP that most compilers support.

Author
Leonid Kostrykin
Date
21.3.15

Definition at line 40 of file Stopwatch.h.


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