Home
last modified time | relevance | path

Searched refs:USEC_FMT (Results 1 – 25 of 30) sorted by relevance

12

/systemd-251/src/basic/
Dtime-util.c347 r = snprintf(buf, l, "@" USEC_FMT, t / USEC_PER_SEC); /* round down µs → s */ in format_timestamp_style()
439 (void) snprintf(buf, l, USEC_FMT " %s " USEC_FMT " %s %s", in format_timestamp_relative()
449 (void) snprintf(buf, l, USEC_FMT " %s " USEC_FMT " %s %s", in format_timestamp_relative()
459 (void) snprintf(buf, l, USEC_FMT " %s " USEC_FMT " %s %s", in format_timestamp_relative()
466 (void) snprintf(buf, l, USEC_FMT " days %s", d / USEC_PER_DAY, s); in format_timestamp_relative()
468 (void) snprintf(buf, l, "1 day " USEC_FMT "h %s", in format_timestamp_relative()
471 (void) snprintf(buf, l, USEC_FMT "h %s", in format_timestamp_relative()
474 (void) snprintf(buf, l, USEC_FMT "h " USEC_FMT "min %s", in format_timestamp_relative()
478 (void) snprintf(buf, l, USEC_FMT "min %s", in format_timestamp_relative()
481 (void) snprintf(buf, l, USEC_FMT "min " USEC_FMT "s %s", in format_timestamp_relative()
[all …]
Dtime-util.h17 #define USEC_FMT "%" PRI_USEC macro
Dfileio.c1199 xsprintf(ln, USEC_FMT "\n", n); in write_timestamp_file_atomic()
/systemd-251/src/shared/
Dserialize.c104 return serialize_item_format(f, key, USEC_FMT, usec); in serialize_usec()
115 return serialize_item_format(f, name, USEC_FMT " " USEC_FMT, t->realtime, t->monotonic); in serialize_dual_timestamp()
Dlogs-show.c781 "__REALTIME_TIMESTAMP="USEC_FMT"\n" in output_export()
782 "__MONOTONIC_TIMESTAMP="USEC_FMT"\n" in output_export()
1026 xsprintf(usecbuf, USEC_FMT, realtime); in output_json()
1031 xsprintf(usecbuf, USEC_FMT, monotonic); in output_json()
Dcreds-util.c524 …_ERRNO(EINVAL), "Credential is invalidated before it is valid (" USEC_FMT " < " USEC_FMT ").", not… in encrypt_credential_and_warn()
Dask-password-api.c788 "NotAfter="USEC_FMT"\n" in ask_password_agent()
/systemd-251/src/test/
Dtest-time-util.c196 log_debug(USEC_FMT" (at accuracy "USEC_FMT")", x, accuracy); in test_format_timespan_one()
202 log_debug(" = "USEC_FMT, y); in test_format_timespan_one()
211 log_info("/* %s accuracy="USEC_FMT" */", __func__, accuracy); in test_format_timespan_accuracy()
596 log_info("realtime=" USEC_FMT "\n" in intro()
597 "monotonic=" USEC_FMT "\n" in intro()
598 "boottime=" USEC_FMT "\n", in intro()
Dtest-watchdog.c31 log_info("Sleeping " USEC_FMT " microseconds...", t); in main()
/systemd-251/src/network/
Dtest-networkd-address.c10 log_debug(USEC_FMT " → \"%s\" (expected \"%s\")", lifetime, t, expected); in test_FORMAT_LIFETIME_one()
/systemd-251/src/timesync/
Dtimesyncd-manager.c554 " poll interval: " USEC_FMT "\n", in manager_receive_response()
596 … log_debug("interval/delta/delay/jitter/drift " USEC_FMT "s/%+.3fs/%.3fs/%.3fs/%+"PRIi64"ppm%s", in manager_receive_response()
626 "MONOTONIC_USEC=" USEC_FMT, dts.monotonic, in manager_receive_response()
627 "REALTIME_USEC=" USEC_FMT, dts.realtime, in manager_receive_response()
628 "BOOTIME_USEC=" USEC_FMT, dts.boottime); in manager_receive_response()
/systemd-251/src/journal-remote/
Djournal-upload-journal.c61 "__REALTIME_TIMESTAMP="USEC_FMT"\n", realtime); in write_entry()
87 "__MONOTONIC_TIMESTAMP="USEC_FMT"\n", monotonic); in write_entry()
/systemd-251/src/login/
Dlogind-user.c182 "REALTIME="USEC_FMT"\n" in user_save_internal()
183 "MONOTONIC="USEC_FMT"\n", in user_save_internal()
188 fprintf(f, "LAST_SESSION_TIMESTAMP=" USEC_FMT "\n", in user_save_internal()
Dlogind-session.c331 "REALTIME="USEC_FMT"\n" in session_save()
332 "MONOTONIC="USEC_FMT"\n", in session_save()
/systemd-251/src/resolve/
Dresolved-dns-cache.c224 log_debug("Removing %scache entry for %s (expired "USEC_FMT"s ago)", in dns_cache_prune()
501 log_debug("Added positive %s %s%s cache entry for %s "USEC_FMT"s on %s/%s/%s", in dns_cache_put_positive()
611 log_debug("Added %s cache entry for %s "USEC_FMT"s", in dns_cache_put_negative()
/systemd-251/src/machine/
Dmachine.c184 "REALTIME="USEC_FMT"\n" in machine_save()
185 "MONOTONIC="USEC_FMT"\n", in machine_save()
/systemd-251/src/libsystemd/sd-bus/
Dbus-dump.c114 fprintf(f, " Monotonic="USEC_FMT, m->monotonic); in sd_bus_message_dump()
116 fprintf(f, " Realtime="USEC_FMT, m->realtime); in sd_bus_message_dump()
/systemd-251/src/core/
Dmanager.c3504 "KERNEL_USEC="USEC_FMT, kernel_usec, in manager_notify_finished()
3505 "INITRD_USEC="USEC_FMT, initrd_usec, in manager_notify_finished()
3506 "USERSPACE_USEC="USEC_FMT, userspace_usec, in manager_notify_finished()
3521 "KERNEL_USEC="USEC_FMT, kernel_usec, in manager_notify_finished()
3522 "USERSPACE_USEC="USEC_FMT, userspace_usec, in manager_notify_finished()
3536 "USERSPACE_USEC="USEC_FMT, userspace_usec, in manager_notify_finished()
Dcgroup.c968 xsprintf(buf, USEC_FMT " " USEC_FMT "\n", in cgroup_apply_unified_cpu_quota()
971 xsprintf(buf, "max " USEC_FMT "\n", period); in cgroup_apply_unified_cpu_quota()
987 xsprintf(buf, USEC_FMT "\n", period); in cgroup_apply_legacy_cpu_quota()
991 xsprintf(buf, USEC_FMT "\n", MAX(quota * period / USEC_PER_SEC, USEC_PER_MSEC)); in cgroup_apply_legacy_cpu_quota()
Dservice.c307 log_unit_debug(UNIT(s), "watchdog_usec="USEC_FMT, s->watchdog_usec); in service_override_watchdog_timeout()
308 log_unit_debug(UNIT(s), "watchdog_override_usec="USEC_FMT, s->watchdog_override_usec); in service_override_watchdog_timeout()
2797 … (void) serialize_item_format(f, "watchdog-override-usec", USEC_FMT, s->watchdog_override_usec); in service_serialize()
2800 … (void) serialize_item_format(f, "watchdog-original-usec", USEC_FMT, s->watchdog_original_usec); in service_serialize()
/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c457 "TimeoutIdleSec="USEC_FMT"\n", in add_automount()
/systemd-251/src/cgtop/
Dcgtop.c98 (void) snprintf(buf, l, USEC_FMT, t); in maybe_format_timespan()
/systemd-251/src/libsystemd/sd-device/
Ddevice-private.c1050 fprintf(f, "I:"USEC_FMT"\n", device->usec_initialized); in device_update_db()
/systemd-251/src/timedate/
Dtimedated.c912 "REALTIME="USEC_FMT, timespec_load(&ts), in method_set_time()
/systemd-251/src/journal/
Djournald-server.c1021 sprintf(source_time, "_SOURCE_REALTIME_TIMESTAMP=" USEC_FMT, timeval_load(tv)); in dispatch_message_real()
2348 log_debug("Setting both rate limit interval and burst from "USEC_FMT",%u to 0,0", in server_init()

12