A very simple timer. More...
#include <uhal/tests/tools.hpp>
Public Member Functions | |
Timer () | |
double | elapsedSeconds () |
Returns number of elapsed seconds since the timer was instantiated. More... | |
Private Attributes | |
timeval | m_start |
|
inline |
Returns number of elapsed seconds since the timer was instantiated.
Definition at line 83 of file tools.hpp.
References m_start, uhal::sec, and uhal::usec.
Referenced by uhal::tests::measureFileReadLatency(), uhal::tests::measureFileWriteLatency(), uhal::tests::measureReadLatency(), and uhal::tests::measureWriteLatency().
|
private |
Definition at line 93 of file tools.hpp.
Referenced by elapsedSeconds(), and Timer().