Pyrogenesis  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Enumerations | Functions
MSR Namespace Reference

Enumerations

enum  ModelSpecificRegisters {
  IA32_MISC_ENABLE = 0x1A0, IA32_ENERGY_PERF_BIAS = 0x1B0, IA32_PMC0 = 0x0C1, IA32_PERFEVTSEL0 = 0x186,
  IA32_PERF_GLOBAL_STATUS = 0x38E, IA32_PERF_GLOBAL_CTRL = 0x38F, IA32_PERF_GLOBAL_OVF_CTRL = 0x390, PLATFORM_INFO = 0x0CE,
  UNCORE_PERF_GLOBAL_CTRL = 0x391, UNCORE_PERF_GLOBAL_STATUS = 0x392, UNCORE_PERF_GLOBAL_OVF_CTRL = 0x393, UNCORE_PMC0 = 0x3B0,
  UNCORE_PERFEVTSEL0 = 0x3C0
}
 

Functions

bool IsAccessible ()
 
bool HasEnergyPerfBias ()
 
bool HasPlatformInfo ()
 
bool HasUncore ()
 
u64 Read (u64 reg)
 
void Write (u64 reg, u64 value)
 

Enumeration Type Documentation

Enumerator
IA32_MISC_ENABLE 
IA32_ENERGY_PERF_BIAS 
IA32_PMC0 
IA32_PERFEVTSEL0 
IA32_PERF_GLOBAL_STATUS 
IA32_PERF_GLOBAL_CTRL 
IA32_PERF_GLOBAL_OVF_CTRL 
PLATFORM_INFO 
UNCORE_PERF_GLOBAL_CTRL 
UNCORE_PERF_GLOBAL_STATUS 
UNCORE_PERF_GLOBAL_OVF_CTRL 
UNCORE_PMC0 
UNCORE_PERFEVTSEL0 

Function Documentation

LIB_API bool MSR::HasEnergyPerfBias ( )
LIB_API bool MSR::HasPlatformInfo ( )
LIB_API bool MSR::HasUncore ( )
LIB_API bool MSR::IsAccessible ( )
LIB_API u64 MSR::Read ( u64  reg)
LIB_API void MSR::Write ( u64  reg,
u64  value 
)