msr

package
v0.0.0-...-20aa718 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INTEL vendor = iota
	AMD
)

Vendors

Variables

This section is empty.

Functions

This section is empty.

Types

type Register

type Register struct {
	ID     uint16
	Vendor vendor
	Temp   int16
}

Register represents a msr

func NewDecoder

func NewDecoder(id uint16, v vendor) *Register

NewDecoder creates and initializes a Register as Decoder

func (*Register) Decode

func (r *Register) Decode() error

Decode makes Register satisfy the mox.Decoder interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳