Lines Matching defs:boot

548         struct boot_times *boot;
554 n = acquire_boot_times(bus, &boot);
572 width = SCALE_X * (boot->firmware_time + boot->finish_time);
576 if (boot->firmware_time > boot->loader_time)
578 if (boot->loader_time) {
583 if (boot->initrd_time)
585 if (boot->kernel_time)
591 if (u->activating < boot->userspace_time ||
592 u->activating > boot->finish_time) {
601 text_start = (boot->firmware_time + u->activating) * SCALE_X;
605 if (u->deactivated > u->activating && u->deactivated <= boot->finish_time
608 if (u->activated < u->activating || u->activated > boot->finish_time)
609 u->activated = boot->finish_time;
610 if (u->deactivating < u->activated || u->activated > boot->finish_time)
611 u->deactivating = boot->finish_time;
612 if (u->deactivated < u->deactivating || u->deactivated > boot->finish_time)
613 u->deactivated = boot->finish_time;
671 svg("<g transform=\"translate(%.3f,100)\">\n", 20.0 + (SCALE_X * boot->firmware_time));
672 svg_graph_box(m, -(double) boot->firmware_time, boot->finish_time);
674 if (boot->firmware_time) {
675 svg_bar("firmware", -(double) boot->firmware_time, -(double) boot->loader_time, y);
676 svg_text(true, -(double) boot->firmware_time, y, "firmware");
679 if (boot->loader_time) {
680 svg_bar("loader", -(double) boot->loader_time, 0, y);
681 svg_text(true, -(double) boot->loader_time, y, "loader");
684 if (boot->kernel_time) {
685 svg_bar("kernel", 0, boot->kernel_done_time, y);
689 if (boot->initrd_time) {
690 svg_bar("initrd", boot->initrd_time, boot->userspace_time, y);
691 svg_text(true, boot->initrd_time, y, "initrd");
694 svg_bar("active", boot->userspace_time, boot->finish_time, y);
695 svg_bar("security", boot->security_start_time, boot->security_finish_time, y);
696 svg_bar("generators", boot->generators_start_time, boot->generators_finish_time, y);
697 svg_bar("unitsload", boot->unitsload_start_time, boot->unitsload_finish_time, y);
698 svg_text(true, boot->userspace_time, y, "systemd");
757 bool last, struct unit_times *times, struct boot_times *boot) {
769 format_timespan(ts, sizeof(ts), times->activating - boot->userspace_time, USEC_PER_MSEC),
771 else if (times->activated > boot->userspace_time)
772 printf("%s @%s", name, format_timespan(ts, sizeof(ts), times->activated - boot->userspace_time, USEC_PER_MSEC));
821 struct boot_times *boot;
832 r = acquire_boot_times(bus, &boot);
840 && times->activated <= boot->finish_time
853 if (times && times->activated && times->activated <= boot->finish_time && (service_longest - times->activated) <= arg_fuzz)
864 || times->activated > boot->finish_time
870 r = list_dependencies_print(*c, level, branches, to_print == 0, times, boot);
876 true, NULL, boot);
902 struct boot_times *boot;
930 r = acquire_boot_times(bus, &boot);
938 else if (times->activated > boot->userspace_time)
939 printf("%s @%s\n", id, format_timespan(ts, sizeof(ts), times->activated - boot->userspace_time, USEC_PER_MSEC));