Skip to content

Commit

Permalink
Remove debug print.
Browse files Browse the repository at this point in the history
  • Loading branch information
klauspost committed Jul 7, 2021
1 parent 30cc3e6 commit 8b74771
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cpuid.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ func (c *CPUInfo) frequencies() {
eax, ebx, ecx, _ := cpuid(0x15)
if eax != 0 && ebx != 0 && ecx != 0 {
c.Hz = (int64(ecx) * int64(ebx)) / int64(eax)
fmt.Println("frequencies(): ", ecx, ebx, eax, "->", c.Hz)
}
}
if mfi >= 0x16 {
Expand Down
1 change: 1 addition & 0 deletions cpuid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func TestCPUID(t *testing.T) {
t.Log("L2 Cache:", CPU.Cache.L2, "bytes")
t.Log("L3 Cache:", CPU.Cache.L3, "bytes")
t.Log("Hz:", CPU.Hz, "Hz")
t.Log("VM:", CPU.VM())
t.Log("BoostFreq:", CPU.BoostFreq, "Hz")
}

Expand Down

0 comments on commit 8b74771

Please sign in to comment.