QDP++
Timer

Classes

class  QDP::StopWatch

Functions

 QDP::StopWatch::StopWatch ()
 Constructor.
 QDP::StopWatch::~StopWatch ()
 Destructor.
void QDP::StopWatch::reset ()
 Reset the timer.
void QDP::StopWatch::start ()
 Start the timer.
void QDP::StopWatch::stop ()
 Stop the timer.
double QDP::StopWatch::getTimeInMicroseconds ()
 Get time in microseconds.
double QDP::StopWatch::getTimeInSeconds ()
 Get time in seconds.

Detailed Description

Function Documentation

◆ getTimeInMicroseconds()

double QDP::StopWatch::getTimeInMicroseconds ( )

Get time in microseconds.

Definition at line 111 of file qdp_stopwatch.cc.

◆ getTimeInSeconds()

double QDP::StopWatch::getTimeInSeconds ( )

◆ reset()

void QDP::StopWatch::reset ( )

Reset the timer.

Definition at line 58 of file qdp_stopwatch.cc.

Referenced by QDP::MapObjectDisk< K, V >::get(), and QDP::MapObjectDisk< K, V >::insert().

◆ start()

◆ stop()

◆ StopWatch()

QDP::StopWatch::StopWatch ( )

Constructor.

Definition at line 13 of file qdp_stopwatch.cc.

◆ ~StopWatch()

QDP::StopWatch::~StopWatch ( )

Destructor.

Definition at line 22 of file qdp_stopwatch.cc.