Registry / utility / klauspost-cpuid

klauspost-cpuid

JSON →
library1.3.1gogounverified

Package cpuid provides information about the CPU running the current program.

go get github.com/klauspost/cpuid
INSTALL
IMPORT
SIG · KLAUSPOST-CPUID
K
klauspost-cpuid
utilitygov1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cpuid
github.com/klauspost/cpuid

Print CPU brand name and features

package main import ( "fmt" "github.com/klauspost/cpuid" ) func main() { fmt.Printf("CPU: %s\n", cpuid.CPU.BrandName) fmt.Printf("Features: %v\n", cpuid.CPU.Features) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
klauspost-cpuid — go get klauspost-cpuid · libregistry