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... | |
Traits Interface.
If initialized with a type for measurement, all types stores in Meter_Traits changes accordingly.
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.
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.
typedef Type::ResultType MeterPU::Meter_Traits< Type >::ResultType |
Result type.