DLPrimitives
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
dlprim::TimingData Class Reference

Class used for benchmarking of the model. More...

#include <include/dlprim/context.hpp>

Classes

struct  Data
 
struct  Section
 

Public Types

typedef std::chrono::high_resolution_clock clock_type
 
typedef std::chrono::time_point< clock_type > time_point_type
 

Public Member Functions

void enter (char const *name)
 
void leave ()
 
void reset ()
 
std::shared_ptr< Dataadd_event (char const *name, int index=-1, cl::Event *ev=nullptr)
 
std::vector< Section > & sections ()
 
std::vector< std::shared_ptr< Data > > & events ()
 

Public Attributes

bool cpu_only =false
 

Detailed Description

Class used for benchmarking of the model.

Detailed description TBD


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