Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadMSRWithLocation ¶
ReadMSRWithLocation is like ReadMSR(), but takes a custom location, for use with testing or 3rd party utilities like llnl/msr-safe It takes a string that has a `%d` format specifier for the cpu. For example: /dev/cpu/%d/msr_safe
func WriteMSRWithLocation ¶
WriteMSRWithLocation is like WriteMSR(), but takes a custom location, for use with testing or 3rd party utilities like llnl/msr-safe It takes a string that has a `%d` format specifier for the cpu. For example: /dev/cpu/%d/msr_safe
Types ¶
type MSRDev ¶
type MSRDev struct {
// contains filtered or unexported fields
}
MSRDev represents a handler for frequent read/write operations for one-off MSR read/writes, gomsr provides {Read,Write}MSR*() functions
func MSRWithLocation ¶
MSRWithLocation is the same as MSR(), but takes a custom location, for use with testing or 3rd party utilities like llnl/msr-safe It takes a string that has a `%d` format specifier for the cpu. For example: /dev/cpu/%d/msr_safe