mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
remove multiplication factor
This commit is contained in:
parent
1474c48da1
commit
9d51ba19db
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ func ReadCPUStats(stats *CPUStats) {
|
|||
}
|
||||
// requesting all cpu times will always return an array with only one time stats entry
|
||||
timeStat := timeStats[0]
|
||||
stats.GlobalTime = int64((timeStat.User + timeStat.Nice + timeStat.System) * 128)
|
||||
stats.GlobalWait = int64((timeStat.Iowait) * 128)
|
||||
stats.GlobalTime = int64((timeStat.User + timeStat.Nice + timeStat.System))
|
||||
stats.GlobalWait = int64((timeStat.Iowait))
|
||||
stats.LocalTime = getProcessCPUTime()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue