From d9acfb71dbfb6e916b9752593158698b8021b28c Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 15 May 2013 21:18:26 +0200 Subject: analyze: show unit file loading on plot This will add another color to the legend called "Loading unit files" Like the generators it will mark a part of the systemd bar indicating the time spent while loading unit files. --- src/core/manager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/manager.c') diff --git a/src/core/manager.c b/src/core/manager.c index 73f4c102e8..f16621ac2b 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -847,7 +847,9 @@ int manager_startup(Manager *m, FILE *serialization, FDSet *fds) { m->n_reloading ++; /* First, enumerate what we can from all config files */ + dual_timestamp_get(&m->unitsload_start_timestamp); r = manager_enumerate(m); + dual_timestamp_get(&m->unitsload_finish_timestamp); /* Second, deserialize if there is something to deserialize */ if (serialization) { -- cgit v1.2.3-54-g00ecf