Skip to content

Commit

Permalink
tools/calibrate: minTSCDeltaLinux: 640 -> 800
Browse files Browse the repository at this point in the history
  • Loading branch information
templexxx committed Feb 14, 2022
1 parent cad1f50 commit 14bc2b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/calibrate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
// Actually it depends on tsc crystal frequency & speed of CPU. I don't think userspace fast clock is meaningful on a slow machine.
// For a machine with good enough hardware, the min tsc delta mustn't be big.
minTSCDeltaMac int64 = 800
minTSCDeltaLinux int64 = 640 // System clock's speed is faster on Linux.
minTSCDeltaLinux int64 = 800 // System clock's speed is faster on Linux.
triesToFindClosest = 256 // If too small, hard to ensure getting minTSCDelta.
minSamples = 32
)
Expand Down

0 comments on commit 14bc2b8

Please sign in to comment.