Home
last modified time | relevance | path

Searched refs:FORMAT_TIMESPAN (Results 1 – 25 of 68) sorted by relevance

123

/systemd-251/src/test/
Dtest-boot-timestamps.c27 FORMAT_TIMESPAN(loader_start, USEC_PER_MSEC), in test_acpi_fpdt()
28 FORMAT_TIMESPAN(loader_exit, USEC_PER_MSEC), in test_acpi_fpdt()
29 FORMAT_TIMESPAN(loader_exit - loader_start, USEC_PER_MSEC)); in test_acpi_fpdt()
46 FORMAT_TIMESPAN(loader_start, USEC_PER_MSEC), in test_efi_loader()
47 FORMAT_TIMESPAN(loader_exit, USEC_PER_MSEC), in test_efi_loader()
48 FORMAT_TIMESPAN(loader_exit - loader_start, USEC_PER_MSEC)); in test_efi_loader()
66 log_info("Firmware began %s before kernel.", FORMAT_TIMESPAN(fw.monotonic, 0)); in test_boot_timestamps()
67 log_info("Loader began %s before kernel.", FORMAT_TIMESPAN(l.monotonic, 0)); in test_boot_timestamps()
Dtest-recurse-dir.c148 …log_info("recurse_dir(): %s – nftw(): %s", FORMAT_TIMESPAN(t2 - t1, 1), FORMAT_TIMESPAN(t4 - t3, 1… in main()
Dtest-procfs-util.c21 log_info("Current system CPU time: %s", FORMAT_TIMESPAN(nsec/NSEC_PER_USEC, 1)); in main()
/systemd-251/src/analyze/
Danalyze-time-data.c165 …if (t->firmware_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->firmware_time - t->loader_time, U… in pretty_boot_time()
167 …if (t->loader_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->loader_time, USEC_PER_MSEC), " (loa… in pretty_boot_time()
169 …if (t->kernel_done_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->kernel_done_time, USEC_PER_MSE… in pretty_boot_time()
171 …if (t->initrd_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->userspace_time - t->initrd_time, US… in pretty_boot_time()
174 …if (!strextend(&text, FORMAT_TIMESPAN(t->finish_time - t->userspace_time, USEC_PER_MSEC), " (users… in pretty_boot_time()
178 …if (!strextend(&text, "= ", FORMAT_TIMESPAN(t->firmware_time + t->finish_time, USEC_PER_MSEC), " … in pretty_boot_time()
184 …if (!strextend(&text, "\n", unit_id, " reached after ", FORMAT_TIMESPAN(activated_time - base, USE… in pretty_boot_time()
Danalyze-critical-chain.c30FORMAT_TIMESPAN(times->activating - boot->userspace_time, USEC_PER_MSEC), in list_dependencies_print()
31 FORMAT_TIMESPAN(times->time, USEC_PER_MSEC), ansi_normal()); in list_dependencies_print()
33 … printf("%s @%s", name, FORMAT_TIMESPAN(times->activated - boot->userspace_time, USEC_PER_MSEC)); in list_dependencies_print()
186 FORMAT_TIMESPAN(times->time, USEC_PER_MSEC), ansi_normal()); in list_dependencies()
189FORMAT_TIMESPAN(times->activated - boot->userspace_time, USEC_PER_MSEC)); in list_dependencies()
/systemd-251/src/timedate/
Dtimedatectl.c408 FORMAT_TIMESPAN(i->poll_interval, 0), in print_ntp_status_info()
409 FORMAT_TIMESPAN(i->poll_min, 0), in print_ntp_status_info()
410 FORMAT_TIMESPAN(i->poll_max, 0)); in print_ntp_status_info()
469FORMAT_TIMESPAN(DIV_ROUND_UP((nsec_t) (exp2(i->precision) * NSEC_PER_SEC), NSEC_PER_USEC), 0), in print_ntp_status_info()
479 FORMAT_TIMESPAN(root_distance, 0), in print_ntp_status_info()
480 FORMAT_TIMESPAN(i->root_distance_max, 0)); in print_ntp_status_info()
490 FORMAT_TIMESPAN(offset, 0)); in print_ntp_status_info()
496 TABLE_STRING, FORMAT_TIMESPAN(delay, 0), in print_ntp_status_info()
498 TABLE_STRING, FORMAT_TIMESPAN(i->jitter, 0), in print_ntp_status_info()
733 printf(" RootDelay=%s,", FORMAT_TIMESPAN(i.root_delay, 0)); in print_timesync_property()
[all …]
/systemd-251/src/shared/
Duser-record-show.c316 … printf(" PBKDF Time: %s\n", FORMAT_TIMESPAN(hr->luks_pbkdf_time_cost_usec, 0)); in user_record_show()
418 FORMAT_TIMESPAN(t - n, USEC_PER_SEC), in user_record_show()
424 FORMAT_TIMESPAN(user_record_ratelimit_interval_usec(hr), 0)); in user_record_show()
437 printf(" min %s", FORMAT_TIMESPAN(hr->password_change_min_usec, 0)); in user_record_show()
444 printf(" max %s", FORMAT_TIMESPAN(hr->password_change_max_usec, 0)); in user_record_show()
447 printf("/warn %s", FORMAT_TIMESPAN(hr->password_change_warn_usec, 0)); in user_record_show()
450 … printf("/inactive %s", FORMAT_TIMESPAN(hr->password_change_inactive_usec, 0)); in user_record_show()
500 printf(" Stop Delay: %s\n", FORMAT_TIMESPAN(hr->stop_delay_usec, 0)); in user_record_show()
Dwatchdog.c183 …return log_error_errno(errno, "Failed to set pretimeout to %s: %m", FORMAT_TIMESPAN(sec, USEC_PER_… in watchdog_set_pretimeout()
251 FORMAT_TIMESPAN(watchdog_pretimeout, 0), in update_pretimeout()
270 FORMAT_TIMESPAN(watchdog_timeout, 0)); in update_timeout()
293 log_info("Watchdog running with a timeout of %s.", FORMAT_TIMESPAN(watchdog_timeout, 0)); in update_timeout()
Dselinux-util.c133 FORMAT_TIMESPAN(after_timestamp - before_timestamp, 0), in open_label_db()
137 FORMAT_TIMESPAN(after_timestamp - before_timestamp, 0)); in open_label_db()
/systemd-251/src/libsystemd-network/
Dtest-ndisc-rs.c333 FORMAT_TIMESPAN(min, USEC_PER_MSEC), in test_timeout_value()
334 FORMAT_TIMESPAN(nd->retransmit_time, USEC_PER_MSEC), in test_timeout_value()
335 FORMAT_TIMESPAN(max, USEC_PER_MSEC)); in test_timeout_value()
Dsd-radv.c357 log_radv(ra, "Next Router Advertisement in %s", FORMAT_TIMESPAN(timeout, USEC_PER_SEC)); in radv_timeout()
628 FORMAT_TIMESPAN(p->lifetime_preferred_usec, USEC_PER_SEC), in sd_radv_add_prefix()
629 FORMAT_TIMESPAN(p->lifetime_valid_usec, USEC_PER_SEC)); in sd_radv_add_prefix()
729 FORMAT_TIMESPAN(p->lifetime_usec, USEC_PER_SEC)); in sd_radv_add_route_prefix()
Dsd-dhcp6-client.c873 FORMAT_TIMESPAN(client->retransmit_time, USEC_PER_SEC)); in client_timeout_resend()
1013 … log_dhcp6_client(client, "T1 expires in %s", FORMAT_TIMESPAN(lifetime_t1, USEC_PER_SEC)); in client_enter_bound_state()
1027 … log_dhcp6_client(client, "T2 expires in %s", FORMAT_TIMESPAN(lifetime_t2, USEC_PER_SEC)); in client_enter_bound_state()
1041 …log_dhcp6_client(client, "Valid lifetime expires in %s", FORMAT_TIMESPAN(lifetime_valid, USEC_PER_… in client_enter_bound_state()
/systemd-251/src/network/
Dnetworkd-conf.c33 FORMAT_TIMESPAN(SPEED_METER_MINIMUM_TIME_INTERVAL, USEC_PER_SEC)); in manager_parse_config_file()
Dnetworkd-radv.c738 FORMAT_TIMESPAN(p->preferred_lifetime, USEC_PER_SEC), in prefix_section_verify()
739 FORMAT_TIMESPAN(p->valid_lifetime, USEC_PER_SEC), in prefix_section_verify()
1300 FORMAT_TIMESPAN(usec, USEC_PER_SEC), in config_parse_router_lifetime()
1301 FORMAT_TIMESPAN(RADV_MIN_ROUTER_LIFETIME_USEC, USEC_PER_SEC)); in config_parse_router_lifetime()
1306 FORMAT_TIMESPAN(usec, USEC_PER_SEC), in config_parse_router_lifetime()
1307 FORMAT_TIMESPAN(RADV_MAX_ROUTER_LIFETIME_USEC, USEC_PER_SEC)); in config_parse_router_lifetime()
/systemd-251/src/sleep/
Dsleep.c277 FORMAT_TIMESPAN(sleep_config->hibernate_delay_sec, USEC_PER_SEC)); in execute_s2h()
299 FORMAT_TIMESPAN(sleep_config->hibernate_delay_sec, USEC_PER_SEC)); in execute_s2h()
/systemd-251/src/core/
Dtimer.c256 prefix, FORMAT_TIMESPAN(t->accuracy_usec, 1), in timer_dump()
278 FORMAT_TIMESPAN(v->value, 0)); in timer_dump()
368 log_unit_debug(UNIT(t), "Adding %s random time.", FORMAT_TIMESPAN(add, 0)); in add_random()
507 log_unit_debug(UNIT(t), "Monotonic timer elapses in %s.", FORMAT_TIMESPAN(left, 0)); in timer_enter_waiting()
Dselinux-setup.c86 FORMAT_TIMESPAN(after_load - before_load, 0)); in mac_selinux_setup()
Dscope.c62 …log_unit_debug(UNIT(s), "Adding delta of %s sec to timeout", FORMAT_TIMESPAN(delta, USEC_PER_SEC)); in scope_running_timeout()
285 prefix, FORMAT_TIMESPAN(s->runtime_max_usec, USEC_PER_SEC), in scope_dump()
286 prefix, FORMAT_TIMESPAN(s->runtime_rand_extra_usec, USEC_PER_SEC)); in scope_dump()
Dmanager-dump.c47 FORMAT_TIMESPAN(t->monotonic, 1)); in manager_dump()
Dmanager.c257 const char *time = FORMAT_TIMESPAN(now(CLOCK_MONOTONIC) - j->begin_usec, 1*USEC_PER_SEC); in manager_print_jobs_in_progress()
258 …const char *limit = have_timeout ? FORMAT_TIMESPAN(x - j->begin_usec, 1*USEC_PER_SEC) : "no limit"; in manager_print_jobs_in_progress()
3492 … size = strpcpyf(&p, size, "%s (firmware) + ", FORMAT_TIMESPAN(firmware_usec, USEC_PER_MSEC)); in manager_notify_finished()
3494 … size = strpcpyf(&p, size, "%s (loader) + ", FORMAT_TIMESPAN(loader_usec, USEC_PER_MSEC)); in manager_notify_finished()
3509 FORMAT_TIMESPAN(kernel_usec, USEC_PER_MSEC), in manager_notify_finished()
3510 FORMAT_TIMESPAN(initrd_usec, USEC_PER_MSEC), in manager_notify_finished()
3511 FORMAT_TIMESPAN(userspace_usec, USEC_PER_MSEC), in manager_notify_finished()
3512 FORMAT_TIMESPAN(total_usec, USEC_PER_MSEC))); in manager_notify_finished()
3525 FORMAT_TIMESPAN(kernel_usec, USEC_PER_MSEC), in manager_notify_finished()
3526 FORMAT_TIMESPAN(userspace_usec, USEC_PER_MSEC), in manager_notify_finished()
[all …]
Ddbus-util.c121 … unit_write_settingf(u, flags, name, "%sSec=%s", n, FORMAT_TIMESPAN(v, USEC_PER_MSEC)); in bus_set_transient_usec_internal()
/systemd-251/src/udev/
Dudev-watch.c119 wd, devnode, FORMAT_TIMESPAN(delay, USEC_PER_MSEC)); in udev_watch_begin()
/systemd-251/src/oom/
Doomd-manager.c504FORMAT_TIMESPAN(m->default_mem_pressure_duration_usec, USEC_PER_SEC)); in monitor_memory_pressure_contexts_handler()
533FORMAT_TIMESPAN(m->default_mem_pressure_duration_usec, USEC_PER_SEC)); in monitor_memory_pressure_contexts_handler()
816 FORMAT_TIMESPAN(m->default_mem_pressure_duration_usec, USEC_PER_SEC)); in manager_get_dump_string()
/systemd-251/src/journal/
Dtest-journal-verify.c117 FORMAT_TIMESPAN(total > to ? total - to : 0, 0)); in main()
/systemd-251/src/userdb/
Duserwork.c518 FORMAT_TIMESPAN(usec_sub_unsigned(n, start_time), 0)); in run()
526 FORMAT_TIMESPAN(usec_sub_unsigned(n, last_busy_usec), 0)); in run()

123