mirror of
https://github.com/containers/podman.git
synced 2025-09-28 01:04:28 +08:00
cgroups: fix times conversion
convert the time we read in microseconds to nanoseconds. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -30,7 +30,7 @@ type CgroupControl struct {
|
||||
additionalControllers []controller
|
||||
}
|
||||
|
||||
// CPUUsage keeps stats for the CPU usage
|
||||
// CPUUsage keeps stats for the CPU usage (unit: nanoseconds)
|
||||
type CPUUsage struct {
|
||||
Kernel uint64
|
||||
Total uint64
|
||||
|
Reference in New Issue
Block a user