Medial Code Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
xgboost::common::Timer Struct Reference

Public Types

using ClockT = std::chrono::high_resolution_clock
 
using TimePointT = std::chrono::high_resolution_clock::time_point
 
using DurationT = std::chrono::high_resolution_clock::duration
 
using SecondsT = std::chrono::duration< double >
 

Public Member Functions

void Reset ()
 
void Start ()
 
void Stop ()
 
double ElapsedSeconds () const
 
void PrintElapsed (std::string label)
 

Data Fields

TimePointT start
 
DurationT elapsed
 

The documentation for this struct was generated from the following file: