diff options
author | Matej Marusak <mmarusak@redhat.com> | 2020-02-13 20:21:53 +0100 |
---|---|---|
committer | Matej Marusak <mmarusak@redhat.com> | 2020-02-17 20:05:14 +0100 |
commit | 98774e14762ac0a1010bd1785c362f7d24ff63fd (patch) | |
tree | e7358de89305a901c452004d8c16d185d59b2e39 /libpod/boltdb_state_internal.go | |
parent | e4e5efc12b7902a22561170ca59f3da90b7b80ce (diff) | |
download | podman-98774e14762ac0a1010bd1785c362f7d24ff63fd.tar.gz podman-98774e14762ac0a1010bd1785c362f7d24ff63fd.tar.bz2 podman-98774e14762ac0a1010bd1785c362f7d24ff63fd.zip |
stats: Expose CPU usage in API
`stats.CPU` is a number representing CPU usage in percents. It is possible
to calculate it from other exposed fields (once they are implemented
correctly) but why to do it, when this is already calculated.
This does not break API, it just adds another field.
Signed-off-by: Matej Marusak <mmarusak@redhat.com>
Diffstat (limited to 'libpod/boltdb_state_internal.go')
0 files changed, 0 insertions, 0 deletions