OpenVDB
3.0.0
|
Simple timer for basic profiling. More...
#include <CpuTimer.h>
Public Member Functions | |
CpuTimer () | |
Initiate timer. More... | |
void | start () |
Restart timer. More... | |
void | start (const std::string &msg) |
Print message and re-start timer. More... | |
void | restart (const std::string &msg) |
Stops previous timer, print message and re-start timer. More... | |
double | delta () const |
Return Time diference in milliseconds since construction or start was called. More... | |
void | stop () const |
Prints time in milliseconds since construction or start was called. More... | |
Simple timer for basic profiling.
|
inline |
Initiate timer.
|
inline |
Return Time diference in milliseconds since construction or start was called.
|
inline |
Stops previous timer, print message and re-start timer.
|
inline |
Restart timer.
|
inline |
Print message and re-start timer.
|
inline |
Prints time in milliseconds since construction or start was called.