| /systemd/src/journal-remote/ |
| H A D | journal-upload-journal.c | 91 usec_t monotonic; local 94 r = sd_journal_get_monotonic_usec(u->journal, &monotonic, &boot_id); 96 return log_error_errno(r, "Failed to get monotonic timestamp: %m"); 99 "__MONOTONIC_TIMESTAMP="USEC_FMT"\n", monotonic); 121 return log_error_errno(r, "Failed to get monotonic timestamp: %m");
|
| /systemd/src/basic/ |
| H A D | time-util.h | 39 usec_t monotonic; member in struct:dual_timestamp 84 (ts->monotonic > 0 && ts->monotonic != USEC_INFINITY));
|
| /systemd/src/journal/ |
| H A D | journal-internal.h | 72 uint64_t monotonic; member in struct:Location
|
| H A D | journal-def.h | 109 le64_t monotonic; member in struct:EntryObject
|
| H A D | journal-file.c | 1353 f->header->tail_entry_monotonic = o->entry.monotonic; 1394 o->entry.monotonic = htole64(ts->monotonic); 2098 if (le64toh(o->entry.monotonic) == needle) 2100 else if (le64toh(o->entry.monotonic) < needle) 2121 uint64_t monotonic, 2141 monotonic, 2162 f->current_monotonic = le64toh(o->entry.monotonic); 2199 /* If the boot id matches, compare monotonic time */ 2377 uint64_t monotonic, 2118 journal_file_move_to_entry_by_monotonic( JournalFile *f, sd_id128_t boot_id, uint64_t monotonic, direction_t direction, Object **ret, uint64_t *offset) argument 2373 journal_file_move_to_entry_by_monotonic_for_data( JournalFile *f, uint64_t data_offset, sd_id128_t boot_id, uint64_t monotonic, direction_t direction, Object **ret, uint64_t *offset) argument [all...] |
| H A D | sd-journal.c | 146 l->monotonic = le64toh(o->entry.monotonic); 477 if (f->current_monotonic < l->monotonic) 479 if (f->current_monotonic > l->monotonic) 615 /* FIXME: missing: find by monotonic */ 624 r = journal_file_move_to_entry_by_monotonic_for_data(f, dp, j->current_location.boot_id, j->current_location.monotonic, direction, ret, offset); 717 r = journal_file_move_to_entry_by_monotonic(f, j->current_location.boot_id, j->current_location.monotonic, direction, ret, offset); 938 bid, le64toh(o->entry.monotonic), 949 unsigned long long seqnum, monotonic, realtime, xor_hash; local 994 if (sscanf(item+2, "%llx", &monotonic) ! [all...] |
| /systemd/src/machine/ |
| H A D | machine.c | 198 m->timestamp.monotonic); 261 _cleanup_free_ char *realtime = NULL, *monotonic = NULL, *id = NULL, *leader = NULL, *class = NULL, *netif = NULL; local 278 "MONOTONIC", &monotonic, 308 if (monotonic) { 310 if (sscanf(monotonic, "%llu", &l) > 0) 311 m->timestamp.monotonic = l;
|
| /systemd/src/login/ |
| H A D | logind-user.c | 178 u->timestamp.monotonic); 297 _cleanup_free_ char *display = NULL, *realtime = NULL, *monotonic = NULL; local 308 "MONOTONIC", &monotonic, 330 if (monotonic) { 332 if (sscanf(monotonic, "%llu", &l) > 0) 333 u->timestamp.monotonic = l; 658 if (k.monotonic < ts.monotonic) 666 if (k.monotonic > ts.monotonic) [all...] |
| H A D | logind-session.c | 286 s->timestamp.monotonic); 323 *monotonic = NULL, local 350 "MONOTONIC", &monotonic, 455 if (monotonic) { 457 if (sscanf(monotonic, "%llu", &l) > 0) 458 s->timestamp.monotonic = l;
|
| /systemd/src/core/ |
| H A D | job.c | 908 static int job_dispatch_timer(sd_event_source *s, uint64_t monotonic, void *userdata) { argument
|
| /systemd/src/libsystemd/sd-bus/ |
| H A D | bus-message.h | 85 usec_t monotonic; member in struct:sd_bus_message
|
| /systemd/src/shared/ |
| H A D | logs-show.c | 220 _cleanup_free_ char *hostname = NULL, *identifier = NULL, *comm = NULL, *pid = NULL, *fake_pid = NULL, *message = NULL, *realtime = NULL, *monotonic = NULL, *priority = NULL; local 280 r = parse_field(data, length, "_SOURCE_MONOTONIC_TIMESTAMP=", &monotonic, &monotonic_len); 311 if (monotonic) 312 r = safe_atou64(monotonic, &t); 318 return log_error_errno(r, "Failed to get monotonic timestamp: %m"); 514 usec_t realtime, monotonic; local 527 r = sd_journal_get_monotonic_usec(j, &monotonic, &boot_id); 529 return log_error_errno(r, "Failed to get monotonic timestamp: %m"); 542 monotonic, 642 uint64_t realtime, monotonic; local [all...] |
| /systemd/src/libsystemd/sd-event/ |
| H A D | sd-event.c | 66 [SOURCE_TIME_MONOTONIC] = "monotonic", 200 struct clock_data monotonic; member in struct:sd_event 410 free_clock_data(&e->monotonic); 437 e->watchdog_fd = e->epoll_fd = e->realtime.fd = e->boottime.fd = e->monotonic.fd = e->realtime_alarm.fd = e->boottime_alarm.fd = -1; 438 e->realtime.next = e->boottime.next = e->monotonic.next = e->realtime_alarm.next = e->boottime_alarm.next = USEC_INFINITY; 439 e->realtime.wakeup = e->boottime.wakeup = e->monotonic.wakeup = e->realtime_alarm.wakeup = e->boottime_alarm.wakeup = WAKEUP_CLOCK_DATA; 610 return &e->monotonic; 2436 if (e->watchdog_last + e->watchdog_period / 4 > e->timestamp.monotonic) 2440 e->watchdog_last = e->timestamp.monotonic; 2472 r = event_arm_timer(e, &e->monotonic); [all...] |