libmsr  0.3.0
A friendlier interface to accessing MSRs on Intel platforms
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
Public Attributes | List of all members
fixed_counter Struct Reference

Structure containing configuration data for each fixed-function performance counter as encoded in IA32_PERF_GLOBAL_CTL and IA32_FIXED_CTR_CTL. More...

#include <msr_counters.h>

Public Attributes

uint64_t * enable
 Raw value stored in enable bit field of IA32_PERF_GLOBAL_CTL, indicating availability of fixed-function performance counter.
 
uint64_t * ring_level
 Raw value stored in enable bit field of IA32_FIXED_CTR_CTL, enabling counting of events occurring in the specified ring level (i.e., none, OS, user, both).
 
uint64_t * anyThread
 Raw value stored in AnyThread bit field of IA32_FIXED_CTR_CTL enables all threads sharing the same processor thread (hyperthreaded scenario) to increment the counter.
 
uint64_t * pmi
 Raw value stored in performance monitoring interrupt (PMI) enable bit field of AI32_FIXED_CTR_CTL, allowing logical processor to generate an exception when the counter overflows.
 
uint64_t ** value
 Raw 64-bit value stored in IA32_FIXED_CTR[0-3].
 
uint64_t * overflow
 

Detailed Description

Structure containing configuration data for each fixed-function performance counter as encoded in IA32_PERF_GLOBAL_CTL and IA32_FIXED_CTR_CTL.

Member Data Documentation

uint64_t* fixed_counter::anyThread

Raw value stored in AnyThread bit field of IA32_FIXED_CTR_CTL enables all threads sharing the same processor thread (hyperthreaded scenario) to increment the counter.

uint64_t* fixed_counter::enable

Raw value stored in enable bit field of IA32_PERF_GLOBAL_CTL, indicating availability of fixed-function performance counter.

uint64_t* fixed_counter::overflow
uint64_t* fixed_counter::pmi

Raw value stored in performance monitoring interrupt (PMI) enable bit field of AI32_FIXED_CTR_CTL, allowing logical processor to generate an exception when the counter overflows.

uint64_t* fixed_counter::ring_level

Raw value stored in enable bit field of IA32_FIXED_CTR_CTL, enabling counting of events occurring in the specified ring level (i.e., none, OS, user, both).

uint64_t** fixed_counter::value

Raw 64-bit value stored in IA32_FIXED_CTR[0-3].


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