1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00

Remove parens

This commit is contained in:
Kemal Hadimli 2017-09-28 14:43:04 +03:00
parent 696e1e0123
commit a3144a6850

View File

@ -215,5 +215,5 @@ func (p *Process) CPUPercent() (float64, error) {
created := time.Unix(0, crt_time * int64(time.Millisecond))
totalTime := time.Since(created).Seconds()
return (100 * (cput.Total() / totalTime)), nil
return 100 * cput.Total() / totalTime, nil
}