Searched refs:NSEC_PER_USEC (Results 1 - 7 of 7) sorted by relevance
/systemd/src/basic/ |
H A D | time-util.h | 50 #define NSEC_PER_USEC ((nsec_t) 1000ULL) macro
|
H A D | time-util.c | 126 if ((usec_t) ts->tv_sec > (UINT64_MAX - (ts->tv_nsec / NSEC_PER_USEC)) / USEC_PER_SEC) 131 (usec_t) ts->tv_nsec / NSEC_PER_USEC; 156 ts->tv_nsec = (long int) ((u % USEC_PER_SEC) * NSEC_PER_USEC); 839 { "usec", NSEC_PER_USEC }, 840 { "us", NSEC_PER_USEC },
|
H A D | btrfs-util.c | 533 (usec_t) le32toh(ri->otime.nsec) / NSEC_PER_USEC;
|
/systemd/src/test/ |
H A D | test-time.c | 92 assert_se(u == 5 * NSEC_PER_SEC + 500 * NSEC_PER_MSEC + 500 * NSEC_PER_USEC);
|
/systemd/src/cgtop/ |
H A D | cgtop.c | 558 format_timespan(buffer, sizeof(buffer), (usec_t) (array[j]->cpu_usage / NSEC_PER_USEC), 0); 627 printf(" %*s", maxtcpu, format_timespan(buffer, sizeof(buffer), (usec_t) (g->cpu_usage / NSEC_PER_USEC), 0));
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-kernel.c | 353 m->timeout * NSEC_PER_USEC; 435 m->realtime = ts->realtime_ns / NSEC_PER_USEC; 436 m->monotonic = ts->monotonic_ns / NSEC_PER_USEC;
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 3688 printf(" CPU: %s\n", format_timespan(buf, sizeof(buf), i->cpu_usage_nsec / NSEC_PER_USEC, USEC_PER_MSEC));
|
Completed in 2162 milliseconds