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/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/socket.h') diff --git a/src/core/socket.h b/src/core/socket.h index 5acf214e1c..fa3ebdafa0 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -166,6 +166,8 @@ struct Socket { bool selinux_context_from_net; char *user, *group; + + bool reset_cpu_usage:1; }; /* Called from the service code when collecting fds */ -- cgit v1.2.3-54-g00ecf