summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/containers_stat.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-03-22 17:37:23 +0100
committerPaul Holzinger <pholzing@redhat.com>2022-03-22 17:44:58 +0100
commit130bcc3a93d82674eaaf2a62f854983db263a940 (patch)
tree20f21ee7dc6b065875a471cf7a669cd470eca4f0 /pkg/domain/infra/abi/containers_stat.go
parent0edb3ddd39ec5ed80cf580148b119d0528875fa9 (diff)
downloadpodman-130bcc3a93d82674eaaf2a62f854983db263a940.tar.gz
podman-130bcc3a93d82674eaaf2a62f854983db263a940.tar.bz2
podman-130bcc3a93d82674eaaf2a62f854983db263a940.zip
podman stats: improve cpu average calc
We can just calculate the cpu percent for the time the container is running. There is no need to use datapoints. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/domain/infra/abi/containers_stat.go')
0 files changed, 0 insertions, 0 deletions