Searched refs:accuracy (Results 1 - 6 of 6) sorted by relevance
/systemd/src/test/ |
H A D | test-time.c | 115 static void test_format_timespan_one(usec_t x, usec_t accuracy) { argument 120 log_info(USEC_FMT" (at accuracy "USEC_FMT")", x, accuracy); 122 r = format_timespan(l, sizeof(l), x, accuracy); 131 if (accuracy <= 0) 132 accuracy = 1; 134 assert_se(x / accuracy == y / accuracy); 137 static void test_format_timespan(usec_t accuracy) { argument 138 test_format_timespan_one(0, accuracy); [all...] |
/systemd/src/basic/ |
H A D | time-util.h | 98 char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy);
|
H A D | time-util.c | 300 char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy) { argument 346 if (t < accuracy && something) 367 for (cc = accuracy; cc > 1; cc /= 10) {
|
/systemd/src/systemd/ |
H A D | sd-event.h | 81 int sd_event_add_time(sd_event *e, sd_event_source **s, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata);
|
/systemd/src/libsystemd/sd-event/ |
H A D | sd-event.c | 127 usec_t next, accuracy; member in struct:sd_event_source::__anon147::__anon149 329 return usec_add(s->time.next, s->time.accuracy); 1061 uint64_t accuracy, 1071 assert_return(accuracy != (uint64_t) -1, -EINVAL); 1103 s->time.accuracy = accuracy == 0 ? DEFAULT_ACCURACY_USEC : accuracy; 1784 *usec = s->time.accuracy; 1800 s->time.accuracy = usec; 1056 sd_event_add_time( sd_event *e, sd_event_source **ret, clockid_t clock, uint64_t usec, uint64_t accuracy, sd_event_time_handler_t callback, void *userdata) argument
|
/systemd/src/resolve/ |
H A D | resolved-dns-transaction.c | 1447 usec_t jitter, accuracy; local 1460 accuracy = LLMNR_JITTER_INTERVAL_USEC; 1466 accuracy = MDNS_JITTER_RANGE_USEC; 1476 ts + jitter, accuracy,
|
Completed in 2113 milliseconds