clDNN
cldnn::instrumentation::timer< ClockTy > Class Template Reference

Helper class to calculate time periods. More...

#include <profiling.hpp>

Public Types

typedef ClockTy::duration val_type
 Timer value type.
 

Public Member Functions

 timer ()
 Starts timer.
 
val_type uptime () const
 Returns time eapsed since construction.
 

Detailed Description

template<class ClockTy = std::chrono::steady_clock>
class cldnn::instrumentation::timer< ClockTy >

Helper class to calculate time periods.

Definition at line 34 of file profiling.hpp.


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