Internal timer object. More...
#include <timing.h>
Static Public Member Functions | |
static timer | tic () |
Start a timer. | |
static double | toc () |
Return elapsed seconds since last tic() | |
static double | toc (timer start) |
Return elapsed seconds since start . | |
Public Attributes | |
struct timeval | val |
Internal timer object.
static timer tic | ( | ) | [static] |
static double toc | ( | ) | [static] |
Return elapsed seconds since last tic()
static double toc | ( | timer | start | ) | [static] |
Return elapsed seconds since start
.
struct timeval val |