| 
    libmsr
    0.3.0
    
   A friendlier interface to accessing MSRs on Intel platforms 
   | 
 
Structure containing data from energy, time, and power measurements of various RAPL power domains. More...
#include <msr_rapl.h>
Public Attributes | |
| struct timeval | now | 
| Timestamp of the current data measurement.   | |
| struct timeval | old_now | 
| Timestamp of the previous data measurement.   | |
| double | elapsed | 
| Amount of time elapsed between the two timestamps.   | |
| uint64_t ** | pkg_bits | 
| Raw 64-bit value stored in MSR_PKG_ENERGY_STATUS.   | |
| uint64_t * | old_pkg_bits | 
| Raw 64-bit value previously stored in MSR_PKG_ENERGY_STATUS.   | |
| double * | pkg_joules | 
| Current package-level energy usage (in Joules).   | |
| double * | old_pkg_joules | 
| Previous package-level energy usage (in Joules).   | |
| double * | pkg_delta_joules | 
| Difference in package-level energy usage between two data measurements.   | |
| double * | pkg_watts | 
| Package-level power consumption (in Watts) derived by dividing difference in package-level energy usage by time elapsed between data measurements.   | |
| uint64_t ** | pkg_perf_count | 
| Raw 64-bit value stored in MSR_PKG_PERF_STATUS, a package-level performance counter reporting cumulative time that the package domain has throttled due to RAPL power limits.   | |
| uint64_t ** | dram_bits | 
| Raw 64-bit value stored in MSR_DRAM_ENERGY_STATUS.   | |
| uint64_t * | old_dram_bits | 
| Raw 64-bit value previously stored in MSR_DRAM_ENERGY_STATUS.   | |
| double * | dram_joules | 
| Current DRAM energy usage (in Joules).   | |
| double * | old_dram_joules | 
| Previous DRAM energy usage (in Joules).   | |
| double * | dram_delta_joules | 
| Difference in DRAM energy usage between two data measurements.   | |
| double * | dram_watts | 
| DRAM power consumption (in Watts) derived by dividing difference in DRAM energy usage by time elapsed between data measurements.   | |
| uint64_t ** | dram_perf_count | 
| Raw 64-bit value stored in MSR_DRAM_PERF_STATUS, which counts how many times DRAM performance was capped due to underlying hardware constraints.   | |
| uint64_t ** | pp0_bits | 
| Raw 64-bit value stored in MSR_PP0_ENERGY_STATUS.   | |
| uint64_t * | old_pp0_bits | 
| Raw 64-bit value previously stored in MSR_PP0_ENERGY_STATUS.   | |
| double * | pp0_joules | 
| Current PP0 energy usage (in Joules).   | |
| double * | old_pp0_joules | 
| Previous PP0 energy usage (in Joules).   | |
| double * | pp0_delta_joules | 
| Difference in PP0 energy usage between two data measurements.   | |
| double * | pp0_watts | 
| PP0 power consumption (in Watts) derived by dividing difference in PP0 energy usage by time elapsed between data measurements.   | |
| uint64_t ** | pp0_perf_count | 
| Raw 64-bit value stored in MSR_PP0_PERF_STATUS, which reports cumulative time that the PP0 domain has throttled due to RAPL power limits.   | |
| uint64_t ** | pp0_policy | 
| Raw 64-bit value stored in MSR_PP0_Policy indicating the desired priority level (with respect to power allocation) to the PCU.   | |
| uint64_t ** | pp1_bits | 
| Raw 64-bit value stored in MSR_PP1_ENERGY_STATUS.   | |
| uint64_t * | old_pp1_bits | 
| Raw 64-bit value previously stored in MSR_PP1_ENERGY_STATUS.   | |
| double * | pp1_joules | 
| Current PP1 energy usage (in Joules).   | |
| double * | old_pp1_joules | 
| Previous PP1 energy usage (in Joules).   | |
| double * | pp1_delta_joules | 
| Difference in PP1 energy usage between two data measurements.   | |
| double * | pp1_watts | 
| PP1 power consumption (in Watts) derived by dividing difference in PP1 energy usage by time elapsed between data measurements.   | |
| uint64_t ** | pp1_policy | 
| Raw 64-bit value stored in MSR_PP1_Policy indicating the desired priority level (with respect to power allocation) to the PCU.   | |
Structure containing data from energy, time, and power measurements of various RAPL power domains.
| uint64_t** rapl_data::dram_bits | 
Raw 64-bit value stored in MSR_DRAM_ENERGY_STATUS.
| double* rapl_data::dram_delta_joules | 
Difference in DRAM energy usage between two data measurements.
| double* rapl_data::dram_joules | 
Current DRAM energy usage (in Joules).
| uint64_t** rapl_data::dram_perf_count | 
Raw 64-bit value stored in MSR_DRAM_PERF_STATUS, which counts how many times DRAM performance was capped due to underlying hardware constraints.
| double* rapl_data::dram_watts | 
DRAM power consumption (in Watts) derived by dividing difference in DRAM energy usage by time elapsed between data measurements.
| double rapl_data::elapsed | 
Amount of time elapsed between the two timestamps.
| struct timeval rapl_data::now | 
Timestamp of the current data measurement.
| uint64_t* rapl_data::old_dram_bits | 
Raw 64-bit value previously stored in MSR_DRAM_ENERGY_STATUS.
| double* rapl_data::old_dram_joules | 
Previous DRAM energy usage (in Joules).
| struct timeval rapl_data::old_now | 
Timestamp of the previous data measurement.
| uint64_t* rapl_data::old_pkg_bits | 
Raw 64-bit value previously stored in MSR_PKG_ENERGY_STATUS.
| double* rapl_data::old_pkg_joules | 
Previous package-level energy usage (in Joules).
| uint64_t* rapl_data::old_pp0_bits | 
Raw 64-bit value previously stored in MSR_PP0_ENERGY_STATUS.
| double* rapl_data::old_pp0_joules | 
Previous PP0 energy usage (in Joules).
| uint64_t* rapl_data::old_pp1_bits | 
Raw 64-bit value previously stored in MSR_PP1_ENERGY_STATUS.
| double* rapl_data::old_pp1_joules | 
Previous PP1 energy usage (in Joules).
| uint64_t** rapl_data::pkg_bits | 
Raw 64-bit value stored in MSR_PKG_ENERGY_STATUS.
| double* rapl_data::pkg_delta_joules | 
Difference in package-level energy usage between two data measurements.
| double* rapl_data::pkg_joules | 
Current package-level energy usage (in Joules).
| uint64_t** rapl_data::pkg_perf_count | 
Raw 64-bit value stored in MSR_PKG_PERF_STATUS, a package-level performance counter reporting cumulative time that the package domain has throttled due to RAPL power limits.
| double* rapl_data::pkg_watts | 
Package-level power consumption (in Watts) derived by dividing difference in package-level energy usage by time elapsed between data measurements.
| uint64_t** rapl_data::pp0_bits | 
Raw 64-bit value stored in MSR_PP0_ENERGY_STATUS.
| double* rapl_data::pp0_delta_joules | 
Difference in PP0 energy usage between two data measurements.
| double* rapl_data::pp0_joules | 
Current PP0 energy usage (in Joules).
| uint64_t** rapl_data::pp0_perf_count | 
Raw 64-bit value stored in MSR_PP0_PERF_STATUS, which reports cumulative time that the PP0 domain has throttled due to RAPL power limits.
| uint64_t** rapl_data::pp0_policy | 
Raw 64-bit value stored in MSR_PP0_Policy indicating the desired priority level (with respect to power allocation) to the PCU.
| double* rapl_data::pp0_watts | 
PP0 power consumption (in Watts) derived by dividing difference in PP0 energy usage by time elapsed between data measurements.
| uint64_t** rapl_data::pp1_bits | 
Raw 64-bit value stored in MSR_PP1_ENERGY_STATUS.
| double* rapl_data::pp1_delta_joules | 
Difference in PP1 energy usage between two data measurements.
| double* rapl_data::pp1_joules | 
Current PP1 energy usage (in Joules).
| uint64_t** rapl_data::pp1_policy | 
Raw 64-bit value stored in MSR_PP1_Policy indicating the desired priority level (with respect to power allocation) to the PCU.
| double* rapl_data::pp1_watts | 
PP1 power consumption (in Watts) derived by dividing difference in PP1 energy usage by time elapsed between data measurements.
 1.8.2