All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
Public Types | List of all members
MeterPU::Meter_Traits< Type > Struct Template Reference

Traits Interface. More...

#include <MeterPU.h>

Public Types

typedef Type::Environment_Init_Type Environment_Init_Type
 Object for initialization of a native measurement library. More...
 
typedef Type::ResultType ResultType
 Result type. More...
 
typedef
Type::Measurement_Controller 
Measurement_Controller
 Measurement Controller Object. More...
 

Detailed Description

template<class Type>
struct MeterPU::Meter_Traits< Type >

Traits Interface.

If initialized with a type for measurement, all types stores in Meter_Traits changes accordingly.

Member Typedef Documentation

template<class Type>
typedef Type::Environment_Init_Type MeterPU::Meter_Traits< Type >::Environment_Init_Type

Object for initialization of a native measurement library.

MeterPU use native measurement libraries for measurement, e.g. NVML for GPU. If a native library needs initialization, then the initialization class should be implemented.

template<class Type>
typedef Type::Measurement_Controller MeterPU::Meter_Traits< Type >::Measurement_Controller

Measurement Controller Object.

The Measurement Controller class implement functionality needed to start, stop and calculation of a measurement by a native measurement library.

template<class Type>
typedef Type::ResultType MeterPU::Meter_Traits< Type >::ResultType

Result type.


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