igor::iStopWatch Class Reference

#include <iStopWatch.h>

Public Member Functions

void start ()
 
void stop ()
 
bool isRunning () const
 
iaTime getTime () const
 

Detailed Description

use this for meshuring time

measurement does not exclue the meashure overhead

Member Function Documentation

◆ getTime()

iaTime igor::iStopWatch::getTime ( ) const
Returns
the difference between start and stop time in ms

if it is still running it returns the difference between start and current time

◆ isRunning()

bool igor::iStopWatch::isRunning ( ) const
Returns
true: if currently running

◆ start()

void igor::iStopWatch::start ( )

saves current time as start time in ms

◆ stop()

void igor::iStopWatch::stop ( )

saves current time as stop time in ms


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