Caffe
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
caffe::Timer Class Reference
Inheritance diagram for caffe::Timer:
caffe::CPUTimer

Public Member Functions

virtual void Start ()
 
virtual void Stop ()
 
virtual float MilliSeconds ()
 
virtual float MicroSeconds ()
 
virtual float Seconds ()
 
bool initted ()
 
bool running ()
 
bool has_run_at_least_once ()
 

Protected Member Functions

void Init ()
 

Protected Attributes

bool initted_
 
bool running_
 
bool has_run_at_least_once_
 
cudaEvent_t start_gpu_
 
cudaEvent_t stop_gpu_
 
boost::posix_time::ptime start_cpu_
 
boost::posix_time::ptime stop_cpu_
 
float elapsed_milliseconds_
 
float elapsed_microseconds_
 

The documentation for this class was generated from the following files: