From 5ad096b3f1331b175340129a8c9a5a9d711e5415 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 1 Mar 2015 16:24:19 +0100 Subject: core: expose consumed CPU time per unit This adds support for showing the accumulated consumed CPU time per-unit in the "systemctl status" output. The property is also readable via the bus. --- src/core/swap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/swap.h') diff --git a/src/core/swap.h b/src/core/swap.h index 5de8c20c04..9136b9abab 100644 --- a/src/core/swap.h +++ b/src/core/swap.h @@ -87,6 +87,8 @@ struct Swap { bool is_active:1; bool just_activated:1; + bool reset_cpu_usage:1; + SwapResult result; usec_t timeout_usec; -- cgit v1.2.3-54-g00ecf