SHOGUN
v1.1.0
|
Class Time that implements a stopwatch based on either cpu time or wall clock time.
Public Member Functions | |
CTime (bool start=true) | |
virtual | ~CTime () |
clock_t | cur_runtime (bool verbose=false) |
clock_t | cur_runtime_diff (bool verbose=false) |
float64_t | cur_runtime_diff_sec (bool verbose=false) |
float64_t | start (bool verbose=false) |
float64_t | cur_time_diff (bool verbose=false) |
float64_t | time_diff_sec (bool verbose=false) |
float64_t | stop (bool verbose=false) |
virtual const char * | get_name () const |
Static Public Member Functions | |
static float64_t | get_runtime () |
static float64_t | get_curtime () |
Protected Attributes | |
clock_t | start_runtime |
float64_t | start_time |
float64_t | stop_time |
CTime | ( | bool | start = true | ) |
clock_t cur_runtime | ( | bool | verbose = false | ) |
clock_t cur_runtime_diff | ( | bool | verbose = false | ) |
float64_t cur_runtime_diff_sec | ( | bool | verbose = false | ) |
float64_t cur_time_diff | ( | bool | verbose = false | ) |
static float64_t get_curtime | ( | ) | [static] |
virtual const char* get_name | ( | ) | const [virtual] |
static float64_t get_runtime | ( | ) | [static] |
float64_t time_diff_sec | ( | bool | verbose = false | ) |
clock_t start_runtime [protected] |
float64_t start_time [protected] |