USEC_PER_SEC 64 src/cgtop/cgtop.c static usec_t arg_delay = 1*USEC_PER_SEC; USEC_PER_SEC 797 src/cgtop/cgtop.c if (arg_delay < USEC_PER_SEC) USEC_PER_SEC 800 src/cgtop/cgtop.c arg_delay += USEC_PER_SEC; USEC_PER_SEC 813 src/cgtop/cgtop.c arg_delay -= USEC_PER_SEC; USEC_PER_SEC 326 src/core/cgroup.c sprintf(buf, USEC_FMT "\n", c->cpu_quota_per_sec_usec * CGROUP_CPU_QUOTA_PERIOD_USEC / USEC_PER_SEC); USEC_PER_SEC 628 src/core/device.c static RATELIMIT_DEFINE(limit, 10*USEC_PER_SEC, 5); USEC_PER_SEC 93 src/core/execute.c #define IDLE_TIMEOUT_USEC (5*USEC_PER_SEC) USEC_PER_SEC 94 src/core/execute.c #define IDLE_TIMEOUT2_USEC (1*USEC_PER_SEC) USEC_PER_SEC 32 src/core/killall.c #define TIMEOUT_USEC (10 * USEC_PER_SEC) USEC_PER_SEC 2641 src/core/load-fragment.c c->cpu_quota_per_sec_usec = (usec_t) (percent * USEC_PER_SEC / 100); USEC_PER_SEC 83 src/core/manager.c #define GC_QUEUE_USEC_MAX (10*USEC_PER_SEC) USEC_PER_SEC 86 src/core/manager.c #define JOBS_IN_PROGRESS_WAIT_USEC (5*USEC_PER_SEC) USEC_PER_SEC 87 src/core/manager.c #define JOBS_IN_PROGRESS_PERIOD_USEC (USEC_PER_SEC / 3) USEC_PER_SEC 193 src/core/manager.c format_timespan(time, sizeof(time), now(CLOCK_MONOTONIC) - j->begin_usec, 1*USEC_PER_SEC); USEC_PER_SEC 195 src/core/manager.c format_timespan(limit, sizeof(limit), x - j->begin_usec, 1*USEC_PER_SEC); USEC_PER_SEC 1946 src/core/manager.c RATELIMIT_DEFINE(rl, 1*USEC_PER_SEC, 50000); USEC_PER_SEC 605 src/core/socket.c prefix, format_timespan(time_string, FORMAT_TIMESPAN_MAX, s->keep_alive_time, USEC_PER_SEC)); USEC_PER_SEC 610 src/core/socket.c prefix, format_timespan(time_string, FORMAT_TIMESPAN_MAX, s->keep_alive_interval, USEC_PER_SEC)); USEC_PER_SEC 620 src/core/socket.c prefix, format_timespan(time_string, FORMAT_TIMESPAN_MAX, s->defer_accept, USEC_PER_SEC)); USEC_PER_SEC 822 src/core/socket.c int value = s->keep_alive_time / USEC_PER_SEC; USEC_PER_SEC 828 src/core/socket.c int value = s->keep_alive_interval / USEC_PER_SEC; USEC_PER_SEC 840 src/core/socket.c int value = s->defer_accept / USEC_PER_SEC; USEC_PER_SEC 53 src/journal-remote/journal-upload.h #define JOURNAL_UPLOAD_POLL_TIMEOUT (10 * USEC_PER_SEC) USEC_PER_SEC 72 src/journal/journal-file.c #define LAST_STAT_REFRESH_USEC (5*USEC_PER_SEC) USEC_PER_SEC 68 src/journal/journald-server.c #define DEFAULT_RATE_LIMIT_INTERVAL (30*USEC_PER_SEC) USEC_PER_SEC 72 src/journal/journald-server.c #define RECHECK_AVAILABLE_SPACE_USEC (30*USEC_PER_SEC) USEC_PER_SEC 36 src/journal/journald-syslog.c #define WARN_FORWARD_SYSLOG_MISSED_USEC (30 * USEC_PER_SEC) USEC_PER_SEC 147 src/journal/journald-syslog.c t = tv ? tv->tv_sec : ((time_t) (now(CLOCK_REALTIME) / USEC_PER_SEC)); USEC_PER_SEC 46 src/journal/sd-journal.c #define JOURNAL_FILES_RECHECK_USEC (2 * USEC_PER_SEC) USEC_PER_SEC 54 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_SOL_MAX_DELAY 1 * USEC_PER_SEC USEC_PER_SEC 55 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_SOL_TIMEOUT 1 * USEC_PER_SEC USEC_PER_SEC 56 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_SOL_MAX_RT 120 * USEC_PER_SEC USEC_PER_SEC 57 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_REQ_TIMEOUT 1 * USEC_PER_SEC USEC_PER_SEC 58 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_REQ_MAX_RT 120 * USEC_PER_SEC USEC_PER_SEC 60 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_REN_TIMEOUT 10 * USEC_PER_SEC USEC_PER_SEC 61 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_REN_MAX_RT 600 * USEC_PER_SEC USEC_PER_SEC 62 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_REB_TIMEOUT 10 * USEC_PER_SEC USEC_PER_SEC 63 src/libsystemd-network/dhcp6-protocol.h #define DHCP6_REB_MAX_RT 600 * USEC_PER_SEC USEC_PER_SEC 355 src/libsystemd-network/sd-dhcp-client.c secs = ((time_now - client->start_time) / USEC_PER_SEC) ? : 1; USEC_PER_SEC 661 src/libsystemd-network/sd-dhcp-client.c next_timeout = time_now + time_left * USEC_PER_SEC; USEC_PER_SEC 671 src/libsystemd-network/sd-dhcp-client.c next_timeout = time_now + time_left * USEC_PER_SEC; USEC_PER_SEC 697 src/libsystemd-network/sd-dhcp-client.c next_timeout = time_now + (client->attempt - 1) * USEC_PER_SEC; USEC_PER_SEC 1060 src/libsystemd-network/sd-dhcp-client.c return client->request_sent + ((lifetime - 3) * USEC_PER_SEC * factor) + USEC_PER_SEC 802 src/libsystemd-network/sd-dhcp-server.c lease->expiration = req->lifetime * USEC_PER_SEC + time_now; USEC_PER_SEC 477 src/libsystemd-network/sd-dhcp6-client.c (random_u32() % (2 * USEC_PER_SEC)) * val / 10 / USEC_PER_SEC; USEC_PER_SEC 537 src/libsystemd-network/sd-dhcp6-client.c max_retransmit_duration = expire * USEC_PER_SEC; USEC_PER_SEC 601 src/libsystemd-network/sd-dhcp6-client.c max_retransmit_duration / USEC_PER_SEC); USEC_PER_SEC 607 src/libsystemd-network/sd-dhcp6-client.c USEC_PER_SEC, USEC_PER_SEC 1042 src/libsystemd-network/sd-dhcp6-client.c timeout = client_timeout_compute_random(be32toh(client->lease->ia.lifetime_t1) * USEC_PER_SEC); USEC_PER_SEC 1052 src/libsystemd-network/sd-dhcp6-client.c 10 * USEC_PER_SEC, client_timeout_t1, USEC_PER_SEC 1067 src/libsystemd-network/sd-dhcp6-client.c timeout = client_timeout_compute_random(be32toh(client->lease->ia.lifetime_t2) * USEC_PER_SEC); USEC_PER_SEC 1077 src/libsystemd-network/sd-dhcp6-client.c 10 * USEC_PER_SEC, client_timeout_t2, USEC_PER_SEC 32 src/libsystemd-network/sd-icmp6-nd.c #define ICMP6_ROUTER_SOLICITATION_INTERVAL 4 * USEC_PER_SEC USEC_PER_SEC 184 src/libsystemd-network/sd-ipv4ll.c next_timeout = sec * USEC_PER_SEC; USEC_PER_SEC 187 src/libsystemd-network/sd-ipv4ll.c next_timeout += random_u32() % (random_sec * USEC_PER_SEC); USEC_PER_SEC 298 src/libsystemd-network/sd-ipv4ll.c ll->defend_window = time_now + DEFEND_INTERVAL * USEC_PER_SEC; USEC_PER_SEC 703 src/libsystemd/sd-bus/bus-creds.c c->pid_starttime = ((usec_t) st * USEC_PER_SEC) / (usec_t) sysconf(_SC_CLK_TCK); USEC_PER_SEC 322 src/libsystemd/sd-bus/bus-internal.h #define BUS_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC)) USEC_PER_SEC 1359 src/libsystemd/sd-bus/bus-util.c r = sd_bus_message_append(m, "v", "t", (usec_t) percent * USEC_PER_SEC / 100); USEC_PER_SEC 1776 src/libsystemd/sd-event/sd-event.c c = (b / (USEC_PER_SEC*10)) * (USEC_PER_SEC*10) + (e->perturb % (USEC_PER_SEC*10)); USEC_PER_SEC 1778 src/libsystemd/sd-event/sd-event.c if (_unlikely_(c < USEC_PER_SEC*10)) USEC_PER_SEC 1781 src/libsystemd/sd-event/sd-event.c c -= USEC_PER_SEC*10; USEC_PER_SEC 1787 src/libsystemd/sd-event/sd-event.c c = (b / USEC_PER_SEC) * USEC_PER_SEC + (e->perturb % USEC_PER_SEC); USEC_PER_SEC 1789 src/libsystemd/sd-event/sd-event.c if (_unlikely_(c < USEC_PER_SEC)) USEC_PER_SEC 1792 src/libsystemd/sd-event/sd-event.c c -= USEC_PER_SEC; USEC_PER_SEC 34 src/libsystemd/sd-rtnl/rtnl-internal.h #define RTNL_DEFAULT_TIMEOUT ((usec_t) (25 * USEC_PER_SEC)) USEC_PER_SEC 43 src/login/logind-session.c #define RELEASE_USEC (20*USEC_PER_SEC) USEC_PER_SEC 53 src/login/logind.c m->inhibit_delay_max = 5 * USEC_PER_SEC; USEC_PER_SEC 1017 src/login/logind.c elapse, USEC_PER_SEC*30, USEC_PER_SEC 46 src/login/logind.h #define IGNORE_LID_SWITCH_SUSPEND_USEC (30 * USEC_PER_SEC) USEC_PER_SEC 1451 src/network/networkd-link.c address->cinfo.ifa_valid * USEC_PER_SEC, USEC_PER_SEC 1452 src/network/networkd-link.c USEC_PER_SEC); USEC_PER_SEC 37 src/resolve-host/resolve-host.c #define DNS_CALL_TIMEOUT_USEC (45*USEC_PER_SEC) USEC_PER_SEC 722 src/resolve/resolved-bus.c r = sd_event_add_time(m->event, &m->bus_retry_event_source, CLOCK_MONOTONIC, now(CLOCK_MONOTONIC) + 5*USEC_PER_SEC, 0, on_bus_retry, m); USEC_PER_SEC 256 src/resolve/resolved-dns-cache.c i->until = timestamp + MIN(rr->ttl * USEC_PER_SEC, CACHE_TTL_MAX_USEC); USEC_PER_SEC 308 src/resolve/resolved-dns-cache.c i->until = timestamp + MIN(i->rr->ttl * USEC_PER_SEC, CACHE_TTL_MAX_USEC); USEC_PER_SEC 361 src/resolve/resolved-dns-cache.c i->until = timestamp + MIN(soa_ttl * USEC_PER_SEC, CACHE_TTL_MAX_USEC); USEC_PER_SEC 28 src/resolve/resolved-dns-query.c #define QUERY_TIMEOUT_USEC (30 * USEC_PER_SEC) USEC_PER_SEC 31 src/resolve/resolved-dns-scope.c #define MULTICAST_RATELIMIT_INTERVAL_USEC (1*USEC_PER_SEC) USEC_PER_SEC 27 src/resolve/resolved-dns-stream.c #define DNS_STREAM_TIMEOUT_USEC (10 * USEC_PER_SEC) USEC_PER_SEC 95 src/resolve/resolved-dns-transaction.h #define DNS_TRANSACTION_TIMEOUT_USEC (5 * USEC_PER_SEC) USEC_PER_SEC 98 src/resolve/resolved-dns-transaction.h #define LLMNR_TRANSACTION_TIMEOUT_USEC (1 * USEC_PER_SEC) USEC_PER_SEC 991 src/shared/calendarspec.c t = (time_t) (usec / USEC_PER_SEC) + 1; USEC_PER_SEC 1002 src/shared/calendarspec.c *next = (usec_t) t * USEC_PER_SEC; USEC_PER_SEC 128 src/shared/generator.c u / USEC_PER_SEC); USEC_PER_SEC 124 src/shared/log.c timeval_store(&tv, 10 * USEC_PER_SEC); USEC_PER_SEC 382 src/shared/log.c t = (time_t) (now(CLOCK_REALTIME) / USEC_PER_SEC); USEC_PER_SEC 304 src/shared/logs-show.c (unsigned long long) (t / USEC_PER_SEC), USEC_PER_SEC 305 src/shared/logs-show.c (unsigned long long) (t % USEC_PER_SEC)); USEC_PER_SEC 330 src/shared/logs-show.c t = (time_t) (x / USEC_PER_SEC); USEC_PER_SEC 340 src/shared/logs-show.c ".%06llu", (unsigned long long) (x % USEC_PER_SEC)); USEC_PER_SEC 31 src/shared/ptyfwd.c #define ESCAPE_USEC USEC_PER_SEC USEC_PER_SEC 47 src/shared/ptyfwd.c if (*counter == 0 || nw > *timestamp + USEC_PER_SEC) { USEC_PER_SEC 98 src/shared/time-util.c if ((usec_t) ts->tv_sec > (UINT64_MAX - (ts->tv_nsec / NSEC_PER_USEC)) / USEC_PER_SEC) USEC_PER_SEC 102 src/shared/time-util.c (usec_t) ts->tv_sec * USEC_PER_SEC + USEC_PER_SEC 115 src/shared/time-util.c ts->tv_sec = (time_t) (u / USEC_PER_SEC); USEC_PER_SEC 116 src/shared/time-util.c ts->tv_nsec = (long int) ((u % USEC_PER_SEC) * NSEC_PER_USEC); USEC_PER_SEC 128 src/shared/time-util.c if ((usec_t) tv->tv_sec > (UINT64_MAX - tv->tv_usec) / USEC_PER_SEC) USEC_PER_SEC 132 src/shared/time-util.c (usec_t) tv->tv_sec * USEC_PER_SEC + USEC_PER_SEC 143 src/shared/time-util.c tv->tv_sec = (time_t) (u / USEC_PER_SEC); USEC_PER_SEC 144 src/shared/time-util.c tv->tv_usec = (suseconds_t) (u % USEC_PER_SEC); USEC_PER_SEC 160 src/shared/time-util.c sec = (time_t) (t / USEC_PER_SEC); USEC_PER_SEC 190 src/shared/time-util.c sec = (time_t) (t / USEC_PER_SEC); USEC_PER_SEC 198 src/shared/time-util.c snprintf(buf + strlen(buf), l - strlen(buf), ".%06llu", (unsigned long long) (t % USEC_PER_SEC)); USEC_PER_SEC 259 src/shared/time-util.c (d % USEC_PER_MINUTE) / USEC_PER_SEC, s); USEC_PER_SEC 260 src/shared/time-util.c else if (d >= USEC_PER_SEC) USEC_PER_SEC 262 src/shared/time-util.c d / USEC_PER_SEC, s); USEC_PER_SEC 287 src/shared/time-util.c { "s", USEC_PER_SEC }, USEC_PER_SEC 603 src/shared/time-util.c ret = (usec_t) x * USEC_PER_SEC; USEC_PER_SEC 621 src/shared/time-util.c { "seconds", USEC_PER_SEC }, USEC_PER_SEC 622 src/shared/time-util.c { "second", USEC_PER_SEC }, USEC_PER_SEC 623 src/shared/time-util.c { "sec", USEC_PER_SEC }, USEC_PER_SEC 624 src/shared/time-util.c { "s", USEC_PER_SEC }, USEC_PER_SEC 648 src/shared/time-util.c { "", USEC_PER_SEC }, /* default is sec */ USEC_PER_SEC 50 src/shared/time-util.h #define USEC_PER_MINUTE ((usec_t) (60ULL*USEC_PER_SEC)) USEC_PER_SEC 58 src/shared/time-util.h #define USEC_PER_MONTH ((usec_t) (2629800ULL*USEC_PER_SEC)) USEC_PER_SEC 60 src/shared/time-util.h #define USEC_PER_YEAR ((usec_t) (31557600ULL*USEC_PER_SEC)) USEC_PER_SEC 3979 src/shared/util.c alarm((timeout + USEC_PER_SEC - 1) / USEC_PER_SEC); USEC_PER_SEC 98 src/shared/utmp-wtmp.c store->ut_tv.tv_sec = t / USEC_PER_SEC; USEC_PER_SEC 99 src/shared/utmp-wtmp.c store->ut_tv.tv_usec = t % USEC_PER_SEC; USEC_PER_SEC 55 src/shared/watchdog.c sec = (int) ((watchdog_timeout + USEC_PER_SEC - 1) / USEC_PER_SEC); USEC_PER_SEC 62 src/shared/watchdog.c watchdog_timeout = (usec_t) sec * USEC_PER_SEC; USEC_PER_SEC 6363 src/systemctl/systemctl.c s = (time_t) (n / USEC_PER_SEC); USEC_PER_SEC 6373 src/systemctl/systemctl.c *_u = (usec_t) s * USEC_PER_SEC; USEC_PER_SEC 117 src/timedate/timedatectl.c sec = (time_t) (i->time / USEC_PER_SEC); USEC_PER_SEC 143 src/timedate/timedatectl.c rtc_sec = (time_t)(i->rtc_time / USEC_PER_SEC); USEC_PER_SEC 414 src/timedate/timedated.c t = (usec_t) timegm(&tm) * USEC_PER_SEC; USEC_PER_SEC 103 src/timesync/timesyncd-manager.c #define RETRY_USEC (30*USEC_PER_SEC) USEC_PER_SEC 104 src/timesync/timesyncd-manager.c #define RATELIMIT_INTERVAL_USEC (10*USEC_PER_SEC) USEC_PER_SEC 107 src/timesync/timesyncd-manager.c #define TIMEOUT_USEC (10*USEC_PER_SEC) USEC_PER_SEC 213 src/timesync/timesyncd-manager.c if (m->retry_interval < NTP_POLL_INTERVAL_MAX_SEC * USEC_PER_SEC) USEC_PER_SEC 216 src/timesync/timesyncd-manager.c m->retry_interval = NTP_POLL_INTERVAL_MIN_SEC * USEC_PER_SEC; USEC_PER_SEC 345 src/timesync/timesyncd-manager.c tmx.constant = log2i(m->poll_interval_usec / USEC_PER_SEC) - 4; USEC_PER_SEC 463 src/timesync/timesyncd-manager.c m->poll_interval_usec = NTP_POLL_INTERVAL_MIN_SEC * USEC_PER_SEC; USEC_PER_SEC 470 src/timesync/timesyncd-manager.c m->poll_interval_usec = NTP_POLL_INTERVAL_MIN_SEC * USEC_PER_SEC; USEC_PER_SEC 476 src/timesync/timesyncd-manager.c if (m->poll_interval_usec < NTP_POLL_INTERVAL_MAX_SEC * USEC_PER_SEC) USEC_PER_SEC 483 src/timesync/timesyncd-manager.c if (m->poll_interval_usec > NTP_POLL_INTERVAL_MIN_SEC * USEC_PER_SEC) USEC_PER_SEC 676 src/timesync/timesyncd-manager.c m->poll_interval_usec / USEC_PER_SEC); USEC_PER_SEC 686 src/timesync/timesyncd-manager.c m->poll_interval_usec / USEC_PER_SEC, offset, delay, m->samples_jitter, m->drift_ppm, USEC_PER_SEC 739 src/timesync/timesyncd-manager.c m->poll_interval_usec = NTP_POLL_INTERVAL_MIN_SEC * USEC_PER_SEC; USEC_PER_SEC 929 src/timesync/timesyncd-manager.c if (m->poll_interval_usec < NTP_POLL_INTERVAL_MAX_SEC * USEC_PER_SEC) USEC_PER_SEC 34 src/timesync/timesyncd.c usec_t min = TIME_EPOCH * USEC_PER_SEC; USEC_PER_SEC 139 src/udev/udevadm-test.c udev_event_execute_rules(event, 60 * USEC_PER_SEC, 20 * USEC_PER_SEC, rules, &sigmask_orig); USEC_PER_SEC 78 src/udev/udevd.c static usec_t arg_event_timeout_usec = 180 * USEC_PER_SEC; USEC_PER_SEC 79 src/udev/udevd.c static usec_t arg_event_timeout_warn_usec = 180 * USEC_PER_SEC / 3; USEC_PER_SEC 1002 src/udev/udevd.c arg_event_timeout_usec *= USEC_PER_SEC; USEC_PER_SEC 1065 src/udev/udevd.c arg_event_timeout_usec *= USEC_PER_SEC; USEC_PER_SEC 1454 src/udev/udevd.c if ((now(CLOCK_MONOTONIC) - last_usec) > 3 * USEC_PER_SEC) {