mirror of
https://github.com/datarhei/core.git
synced 2025-10-04 15:42:57 +08:00
Fix use of deprecated function
This commit is contained in:
@@ -98,7 +98,7 @@ func (p *process) cpuTimes() (*cpuTimesStat, error) {
|
||||
}
|
||||
|
||||
s := &cpuTimesStat{
|
||||
total: times.Total(),
|
||||
total: cpuTotal(times),
|
||||
system: times.System,
|
||||
user: times.User,
|
||||
}
|
||||
|
Reference in New Issue
Block a user