Searched refs:NSEC_PER_USEC (Results 1 - 7 of 7) sorted by relevance

/systemd/src/basic/
H A Dtime-util.h50 #define NSEC_PER_USEC ((nsec_t) 1000ULL) macro
H A Dtime-util.c126 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 Dbtrfs-util.c533 (usec_t) le32toh(ri->otime.nsec) / NSEC_PER_USEC;
/systemd/src/test/
H A Dtest-time.c92 assert_se(u == 5 * NSEC_PER_SEC + 500 * NSEC_PER_MSEC + 500 * NSEC_PER_USEC);
/systemd/src/cgtop/
H A Dcgtop.c558 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 Dbus-kernel.c353 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 Dsystemctl.c3688 printf(" CPU: %s\n", format_timespan(buf, sizeof(buf), i->cpu_usage_nsec / NSEC_PER_USEC, USEC_PER_MSEC));

Completed in 2162 milliseconds