![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <StopWatch.hpp>


Public Member Functions | |
| double | getInSeconds () const |
| Return the time in seconds. | |
| void | start () |
| Start measuring. | |
| double | stop () |
| Stop measuring. | |
| StopWatch () | |
| Init to zero seconds. | |
Private Member Functions | |
| std::string | doToString () const |
| Return the time in seconds as string. | |
Private Attributes | |
| timeval | begin_ |
| Start point of measurement. | |
| timeval | end_ |
| End point of measurement. | |
| bool | isRunning_ |
Definition at line 40 of file StopWatch.hpp.
| StopWatch::StopWatch | ( | ) |
Definition at line 33 of file StopWatch.cpp.
| std::string StopWatch::doToString | ( | ) | const [private, virtual] |
| double StopWatch::getInSeconds | ( | ) | const |
| void StopWatch::start | ( | ) |
Definition at line 44 of file StopWatch.cpp.
| double StopWatch::stop | ( | ) |
Definition at line 52 of file StopWatch.cpp.
timeval wns::StopWatch::begin_ [private] |
Definition at line 79 of file StopWatch.hpp.
timeval wns::StopWatch::end_ [private] |
Definition at line 84 of file StopWatch.hpp.
bool wns::StopWatch::isRunning_ [private] |
Definition at line 86 of file StopWatch.hpp.
1.5.5