TDMS
Time Domain Maxwell Solver
|
Stopwatch class. More...
#include <timer.h>
Public Member Functions | |
void | start () |
void | end () |
void | click () |
double | delta_seconds () const |
Private Attributes | |
double | start_time |
double | end_time |
Stopwatch class.
void Timer::click | ( | ) |
Log the difference in time and reset the timer
double Timer::delta_seconds | ( | ) | const |
Time difference
void Timer::end | ( | ) |
Stops the stopwatch
void Timer::start | ( | ) |
Starts the stopwatch