|
#define | PRINT_FUNC_NAME(message) std::cout<<"["<<__FILE__<<"#"<<__LINE__<<" "<<__func__<<"():] "<<message<<std::endl |
|
#define | PRINT_FUNC_NAME_CONT std::cout<<"["<<__FILE__<<"#"<<__LINE__<<" "<<__func__<<"():] " |
|
#define | DECLARE_CLASS_NAME(name) static std::string class_name(){return name;} |
|
#define | PRINT_CLASS_FUNC_NAME(message) std::cout<<"["<<__FILE__<<"#"<<__LINE__<<" "<<class_name()<<" "<<__func__<<"():] "<<message<<std::endl |
|
#define | PRINT_CLASS_FUNC_NAME_CONT std::cout<<"["<<__FILE__<<"#"<<__LINE__<<" "<<class_name()<<" "<<__func__<<"():] " |
|
#define | METERPU_TIME_MEASURE(x) clock_gettime(CLOCK_MONOTONIC, x) |
|
#define | POINTER ((Meter<NVML_Energy<first_device_id> >*)x[array_index]) |
| A macro for downcast a void pointer to a NVML Energy Meter. More...
|
|
#define | NOTHING |
|
#define | LOOPER(name, return_type, base_code, general_code) |
| A macro to build variadic template to recursively apply code snippets. More...
|
|
|
bool | bash_exe (const std::string &cmd, std::vector< std::string > &out) |
|
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...
|
|
std::ostream & | MeterPU::operator<< (std::ostream &out, NVML_Energy<>::Time_Unit ts) |
|