Skip to content

Commit

Permalink
Update cputest.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS authored Jul 2, 2024
1 parent e926a19 commit 110e4e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpu/cputest.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func SysBenchTest(language, testThread string) string {
}
result += singleScore + "\n"
if runtime.NumCPU() > 1 {
time.Sleep(1 * time.Second)
multiResult, err := runSysBenchCommand(fmt.Sprintf("%d", runtime.NumCPU()), "5", version)
if err != nil {
if model.EnableLoger {
Expand Down

0 comments on commit 110e4e5

Please sign in to comment.