diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-08-18 20:58:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-08-22 16:14:21 +0200 |
commit | fe700f46ec5490efcb8da49e644bb4d781f896f2 (patch) | |
tree | 20564975ed016c16cc4029ca0c46582e484d15a9 /src/machine/machined.c | |
parent | 8b3b6f588cd9aecbfb17664a5961f789b5a11386 (diff) |
core: cache last CPU usage counter, before destorying a cgroup
It is useful for clients to be able to read the last CPU usage counter value of
a unit even if the unit is already terminated. Hence, before destroying a
cgroup's cgroup cache the last CPU usage counter and return it if the cgroup is
gone.
Diffstat (limited to 'src/machine/machined.c')
0 files changed, 0 insertions, 0 deletions