Skip to content

worldyuan/cpuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Use

package main

import (
        "fmt"
        cpuid "github.com/jeek120/cpuid"
)

func main() {
        ids := [4]uint32{}
        cpuid.Cpuid(&ids, 0)
        fmt.Printf("%d%d%d%d", ids[0], ids[1], ids[2], ids[3])
}

About

get cpuid by golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published