Used to profile different stages of training and prediction.
More...
#include <utils.h>
Static Public Member Functions |
static bool | isEnabled () |
static void | setEnabled (bool enable) |
| enabling the profile
|
Detailed Description
Used to profile different stages of training and prediction.
Definition at line 124 of file utils.h.
Constructor & Destructor Documentation
curfil::utils::Profile::Profile |
( |
const std::string & |
name | ) |
|
|
inline |
- Parameters
-
Definition at line 129 of file utils.h.
Member Function Documentation
double curfil::utils::Profile::getSeconds |
( |
| ) |
|
|
inline |
- Returns
- the timer duration in seconds
Definition at line 143 of file utils.h.
static bool curfil::utils::Profile::isEnabled |
( |
| ) |
|
|
inlinestatic |
- Returns
- whether the profile is enabled
Definition at line 150 of file utils.h.
The documentation for this class was generated from the following file: