TDMS
Time Domain Maxwell Solver
All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Timer Class Reference

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
 

Detailed Description

Stopwatch class.

Member Function Documentation

◆ click()

void Timer::click ( )

Log the difference in time and reset the timer

◆ delta_seconds()

double Timer::delta_seconds ( ) const

Time difference

◆ end()

void Timer::end ( )

Stops the stopwatch

◆ start()

void Timer::start ( )

Starts the stopwatch


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