|
vSMC
vSMC: Scalable Monte Carlo
|
Stop watch using system native API. More...
#include <vsmc/utility/stop_watch.hpp>
Public Member Functions | |
| StopWatchSYS () | |
| double | hours () const |
| double | microseconds () const |
| double | milliseconds () const |
| double | minutes () const |
| double | nanoseconds () const |
| void | reset () |
| bool | running () |
| double | seconds () const |
| bool | start () |
| bool | stop () |
Stop watch using system native API.
This class use mach_absolute_time on Mac OS X, clock_gettime on other POSIX systems, and QueryPerformanceCounter on Windows.
Definition at line 238 of file stop_watch.hpp.
|
inline |
Definition at line 242 of file stop_watch.hpp.
|
inline |
Definition at line 299 of file stop_watch.hpp.
|
inline |
Definition at line 287 of file stop_watch.hpp.
|
inline |
Definition at line 290 of file stop_watch.hpp.
|
inline |
Definition at line 296 of file stop_watch.hpp.
|
inline |
Definition at line 284 of file stop_watch.hpp.
|
inline |
Definition at line 275 of file stop_watch.hpp.
|
inline |
Definition at line 244 of file stop_watch.hpp.
|
inline |
Definition at line 293 of file stop_watch.hpp.
|
inline |
Definition at line 246 of file stop_watch.hpp.
|
inline |
Definition at line 257 of file stop_watch.hpp.
1.8.9.1