Searched defs:time (Results 1 - 9 of 9) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-identifier.h39 uint32_t time; member in struct:duid::__anon166::__anon167
H A Dsd-lldp.c459 usec_t time; local
518 time = now(clock_boottime_or_monotonic());
521 if (time - p->until <= 0)
/systemd/test/
H A Dnetworkd-test.py30 import time namespace
130 time.sleep(1)
188 time.sleep(0.1)
343 time.sleep(0.1)
/systemd/src/core/
H A Ddbus-timer.c221 char time[FORMAT_TIMESPAN_MAX]; local
223 unit_write_drop_in_private_format(UNIT(t), mode, name, "%s=%s\n", name, format_timespan(time, sizeof(time), u, USEC_PER_MSEC));
H A Dmanager.c79 #include "time-util.h"
175 char time[FORMAT_TIMESPAN_MAX], limit[FORMAT_TIMESPAN_MAX] = "no limit"; local
206 format_timespan(time, sizeof(time), now(CLOCK_MONOTONIC) - j->begin_usec, 1*USEC_PER_SEC);
215 time, limit);
367 return log_error_errno(r, "Failed to create time change event source: %m");
369 (void) sd_event_source_set_description(m->time_change_event_source, "manager-time-change");
2043 /* Sleep for half the watchdog time */
/systemd/src/timedate/
H A Dtimedatectl.c64 usec_t time; member in struct:StatusInfo
103 if (i->time != 0) {
104 sec = (time_t) (i->time / USEC_PER_SEC);
107 sec = time(NULL);
110 log_warning("Could not get time from timedated and not operating locally, ignoring.");
114 printf(" Local time: %.*s\n", (int) sizeof(a), a);
117 printf(" Universal time: %.*s\n", (int) sizeof(a), a);
119 printf(" Local time: %s\n", "n/a");
120 printf(" Universal time: %s\n", "n/a");
128 printf(" RTC time
[all...]
/systemd/src/network/
H A Dnetworkctl.c971 usec_t time; local
978 time = now(clock_boottime_or_monotonic());
979 if (x < time)
982 ttl = (double) (x - time) / USEC_PER_SEC;
/systemd/src/analyze/
H A Danalyze.c113 usec_t time; member in struct:unit_times
187 return compare(((struct unit_times *)b)->time,
188 ((struct unit_times *)a)->time);
410 t->time = t->activated - t->activating;
412 t->time = t->deactivated - t->activating;
414 t->time = 0;
714 if (u->time)
716 u->name, format_timespan(ts, sizeof(ts), u->time, USEC_PER_MSEC));
767 if (times->time)
770 format_timespan(ts2, sizeof(ts2), times->time, USEC_PER_MSE
[all...]
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c40 #include "time-util.h"
130 } time; member in union:sd_event_source::__anon147
163 * the two prioqs is the time window we can freely schedule
178 * time. */
319 /* Order by time */
320 if (x->time.next < y->time.next)
322 if (x->time.next > y->time.next)
329 return usec_add(s->time
[all...]

Completed in 901 milliseconds