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 |
![]() | |
CSGObject () | |
CSGObject (const CSGObject &orig) | |
virtual | ~CSGObject () |
virtual bool | is_generic (EPrimitiveType *generic) const |
template<class T > | |
void | set_generic () |
void | unset_generic () |
virtual void | print_serializable (const char *prefix="") |
virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
void | set_global_io (SGIO *io) |
SGIO * | get_global_io () |
void | set_global_parallel (Parallel *parallel) |
Parallel * | get_global_parallel () |
void | set_global_version (Version *version) |
Version * | get_global_version () |
SGVector< char * > | get_modelsel_names () |
char * | get_modsel_param_descr (const char *param_name) |
index_t | get_modsel_param_index (const char *param_name) |
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 |
Additional Inherited Members | |
![]() | |
SGIO * | io |
Parallel * | parallel |
Version * | version |
Parameter * | m_parameters |
Parameter * | m_model_selection_parameters |
![]() | |
virtual void | load_serializable_pre () throw (ShogunException) |
virtual void | load_serializable_post () throw (ShogunException) |
virtual void | save_serializable_pre () throw (ShogunException) |
virtual void | save_serializable_post () throw (ShogunException) |
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 |
|
virtual |
|
static |
float64_t start | ( | bool | verbose = false | ) |
float64_t stop | ( | bool | verbose = false | ) |
float64_t time_diff_sec | ( | bool | verbose = false | ) |