diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-13 18:54:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-13 18:54:32 +0200 |
commit | 915b375388231ed97cad2929ab948756bfc77c42 (patch) | |
tree | 9396ec2815d3e0fda9d593130533b2b739e6483c /src/core/dbus.c | |
parent | e50d5048652a3f481ab730e17c90e874d967aa90 (diff) |
manager: extend performance measurement interface to include firmware/loader times
This only adds the fields to the D-Bus interfaces but doesn't fill them
in with anything useful yet. Gummiboot exposes the necessary bits of
information to use however and as soon as I get my fingers on a proper
UEFI laptop I'll hook up the remaining bits.
Since we want to stabilize the D-Bus interface soon and include it in
the stability promise we should get the last fixes in, hence this change
now.
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r-- | src/core/dbus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c index 1fc714823e..75773aaa49 100644 --- a/src/core/dbus.c +++ b/src/core/dbus.c @@ -1436,6 +1436,8 @@ int bus_fdset_add_all(Manager *m, FDSet *fds) { void bus_broadcast_finished( Manager *m, + usec_t firmware_usec, + usec_t loader_usec, usec_t kernel_usec, usec_t initrd_usec, usec_t userspace_usec, @@ -1453,6 +1455,8 @@ void bus_broadcast_finished( assert_cc(sizeof(usec_t) == sizeof(uint64_t)); if (!dbus_message_append_args(message, + DBUS_TYPE_UINT64, &firmware_usec, + DBUS_TYPE_UINT64, &loader_usec, DBUS_TYPE_UINT64, &kernel_usec, DBUS_TYPE_UINT64, &initrd_usec, DBUS_TYPE_UINT64, &userspace_usec, |