35 clock_t cur_time=clock();
37 SG_PRINT(
"current %ld\n", (int64_t) cur_time)
45 SG_PRINT(
"current diff %ld\n", (int64_t) diff)
95 #if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__) 96 int gettimeofday(
struct timeval* tp,
void* tzp)
100 tp->tv_sec = t / 1000;
101 tp->tv_usec = t % 1000;
clock_t cur_runtime_diff(bool verbose=false)
clock_t cur_runtime(bool verbose=false)
float64_t stop(bool verbose=false)
static float64_t get_curtime()
float64_t time_diff_sec(bool verbose=false)
float64_t cur_time_diff(bool verbose=false)
Class SGObject is the base class of all shogun objects.
float64_t start(bool verbose=false)
all of classes and functions are contained in the shogun namespace
float64_t cur_runtime_diff_sec(bool verbose=false)