DART 6.13.2
Loading...
Searching...
No Matches
Stopwatch.cpp File Reference

Namespaces

namespace  dart
 
namespace  dart::common
 

Functions

void dart::common::tic ()
 MATLAB like timer.
 
double dart::common::toc (bool print=false)
 Returns the elapsed time in seconds since the last tic() call.
 
double dart::common::tocS (bool print=false)
 Returns the elapsed time in seconds since the last tic() call.
 
double dart::common::tocMS (bool print=false)
 Returns the elapsed time in milliseconds since the last tic() call.
 
double dart::common::tocUS (bool print=false)
 Returns the elapsed time in microseconds since the last tic() call.
 
double dart::common::tocNS (bool print=false)
 Returns the elapsed time in nanoseconds since the last tic() call.