All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
Classes | Functions
Traits for Different Meter Type

Classes

struct  MeterPU::Meter_Traits< Type >
 Traits Interface. More...
 
struct  MeterPU::CPU_Time
 Time Traits. More...
 
struct  MeterPU::CUDA_Time
 Cuda Timer Traits. More...
 
struct  MeterPU::PCM_Energy
 PCM Energy Traits. More...
 
struct  MeterPU::NVML_Energy< device_id >
 GPU Energy Traits. More...
 
struct  MeterPU::System_Energy< gpu_ids >
 System Energy Traits. More...
 

Functions

CPU_Time::ResultType MeterPU::operator- (CPU_Time::Time_Unit const &stop_time, CPU_Time::Time_Unit const &start_time)
 Calculate elapsed time between two time stamp. More...
 
bool MeterPU::operator< (CPU_Time::Time_Unit const &small_time, CPU_Time::Time_Unit const &large_time)
 Check if a time stamp is earlier than another. More...
 
bool MeterPU::operator== (CPU_Time::Time_Unit const &small_time, CPU_Time::Time_Unit const &large_time)
 Check if two time stamps are the same. More...
 
bool MeterPU::operator<= (CPU_Time::Time_Unit const &small_time, CPU_Time::Time_Unit const &large_time)
 Check if a time stamp is earlier or equal to another. More...
 

Detailed Description

Distinguish between Energy and Time etc.

Function Documentation

CPU_Time::ResultType MeterPU::operator- ( CPU_Time::Time_Unit const &  stop_time,
CPU_Time::Time_Unit const &  start_time 
)
inline

Calculate elapsed time between two time stamp.

bool MeterPU::operator< ( CPU_Time::Time_Unit const &  small_time,
CPU_Time::Time_Unit const &  large_time 
)
inline

Check if a time stamp is earlier than another.

bool MeterPU::operator<= ( CPU_Time::Time_Unit const &  small_time,
CPU_Time::Time_Unit const &  large_time 
)
inline

Check if a time stamp is earlier or equal to another.

bool MeterPU::operator== ( CPU_Time::Time_Unit const &  small_time,
CPU_Time::Time_Unit const &  large_time 
)
inline

Check if two time stamps are the same.