HomeSort by relevance Sort by last modified time
    Searched defs:NSEC_PER_SEC (Results 1 - 25 of 37) sorted by null

1 2

  /external/linux-kselftest/tools/testing/selftests/timers/
change_skew.c 44 #define NSEC_PER_SEC 1000000000LL
skew_consistency.c 51 #define NSEC_PER_SEC 1000000000LL
mqueue-lat.c 45 #define NSEC_PER_SEC 1000000000ULL
53 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec;
55 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec;
62 while (ts.tv_nsec >= NSEC_PER_SEC) {
63 ts.tv_nsec -= NSEC_PER_SEC;
set-2038.c 43 #define NSEC_PER_SEC 1000000000LL
46 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
nanosleep.c 43 #define NSEC_PER_SEC 1000000000ULL
105 while (ts.tv_nsec >= NSEC_PER_SEC) {
106 ts.tv_nsec -= NSEC_PER_SEC;
158 while (length <= (NSEC_PER_SEC * 10)) {
valid-adjtimex.c 48 #define NSEC_PER_SEC 1000000000LL
216 tmx.time.tv_sec = offset / NSEC_PER_SEC;
217 tmx.time.tv_usec = offset % NSEC_PER_SEC;
221 tmx.time.tv_usec += NSEC_PER_SEC;
267 if (set_offset(NSEC_PER_SEC - 1, 1))
270 if (set_offset(-NSEC_PER_SEC + 1, 1))
273 if (set_offset(-NSEC_PER_SEC - 1, 1))
276 if (set_offset(5 * NSEC_PER_SEC, 1))
279 if (set_offset(-5 * NSEC_PER_SEC, 1))
282 if (set_offset(5 * NSEC_PER_SEC + NSEC_PER_SEC / 2, 1)
    [all...]
adjtick.c 41 #define NSEC_PER_SEC 1000000000LL
57 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec;
64 ts.tv_sec = ns/NSEC_PER_SEC;
65 ts.tv_nsec = ns%NSEC_PER_SEC;
alarmtimer-suspend.c 59 #define NSEC_PER_SEC 1000000000ULL
60 #define UNREASONABLE_LAT (NSEC_PER_SEC * 5) /* hopefully we resume in 5 secs */
100 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec;
102 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec;
117 delta_ns -= NSEC_PER_SEC * SUSPEND_SECS * alarmcount;
inconsistency-check.c 45 #define NSEC_PER_SEC 1000000000ULL
145 delta = list[inconsistent].tv_sec * NSEC_PER_SEC;
147 delta -= list[inconsistent+1].tv_sec * NSEC_PER_SEC;
leap-a-day.c 64 #define NSEC_PER_SEC 1000000000ULL
85 while (ts.tv_nsec >= NSEC_PER_SEC) {
86 ts.tv_nsec -= NSEC_PER_SEC;
176 target = timespec_add(now, NSEC_PER_SEC/2);
366 ts.tv_nsec = NSEC_PER_SEC / 2;
nsleep-lat.c 40 #define NSEC_PER_SEC 1000000000ULL
93 while (ts.tv_nsec >= NSEC_PER_SEC) {
94 ts.tv_nsec -= NSEC_PER_SEC;
103 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec;
105 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec;
115 target.tv_sec = ns/NSEC_PER_SEC;
116 target.tv_nsec = ns%NSEC_PER_SEC;
171 while (length <= (NSEC_PER_SEC * 10)) {
raw_skew.c 43 #define NSEC_PER_SEC 1000000000LL
60 return ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec;
67 ts.tv_sec = ns/NSEC_PER_SEC;
68 ts.tv_nsec = ns%NSEC_PER_SEC;
138 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval;
set-timer-lat.c 58 #define NSEC_PER_SEC 1000000000ULL
99 long long ret = NSEC_PER_SEC * b.tv_sec + b.tv_nsec;
101 ret -= NSEC_PER_SEC * a.tv_sec + a.tv_nsec;
115 delta_ns -= NSEC_PER_SEC * TIMER_SECS * alarmcount;
  /external/ltp/testcases/kernel/timers/include/
common_timers.h 14 #ifndef NSEC_PER_SEC
15 #define NSEC_PER_SEC (1000000000L)
  /external/libnetfilter_conntrack/include/internal/
internal.h 75 #ifndef NSEC_PER_SEC
76 #define NSEC_PER_SEC 1000000000L
  /external/ltp/tools/pounder21/src/time_tests/
inconsistency-check.c 30 #define NSEC_PER_SEC 1000000000ULL
89 delta = list[inconsistent].tv_sec * NSEC_PER_SEC;
91 delta -= list[inconsistent + 1].tv_sec * NSEC_PER_SEC;
  /external/mesa3d/src/vulkan/wsi/
wsi_common_queue.h 105 #define NSEC_PER_SEC 1000000000
119 uint32_t abs_nsec = now.tv_nsec + timeout % NSEC_PER_SEC;
120 uint64_t abs_sec = now.tv_sec + (abs_nsec / NSEC_PER_SEC) +
121 (timeout / NSEC_PER_SEC);
122 abs_nsec %= NSEC_PER_SEC;
  /device/google/marlin/camera/QCamera2/util/
QCameraPerf.h 56 #define NSEC_PER_SEC 1000000000LLU
  /device/huawei/angler/camera/QCamera2/util/
QCameraPerf.h 47 #define NSEC_PER_SEC 1000000000LLU
  /device/lge/bullhead/camera/QCamera2/util/
QCameraPerf.h 47 #define NSEC_PER_SEC 1000000000LLU
  /system/extras/tests/suspend_stress/
suspend_stress.cpp 31 #define NSEC_PER_SEC (1000*1000*1000)
33 #define NSEC_PER_MSEC (NSEC_PER_SEC/MSEC_PER_SEC)
36 return ((long long)(a->tv_sec - b->tv_sec)) * NSEC_PER_SEC +
164 if (llabs(diff) > NSEC_PER_SEC) {
166 llabs(diff) / NSEC_PER_SEC,
170 llabs(diff) / NSEC_PER_SEC,
  /external/dhcpcd-6.8.2/
common.h 56 #define NSEC_PER_SEC 1000000000L
91 while ((tv)->tv_nsec >= NSEC_PER_SEC) { \
93 (tv)->tv_nsec -= NSEC_PER_SEC; \
  /external/libnl/include/netlink-private/
netlink.h 70 #define NSEC_PER_SEC 1000000000L
  /external/ltp/testcases/realtime/func/sched_jitter/
sched_jitter.c 55 #define NSEC_PER_SEC 1000000000
88 first = (unsigned long long)a.tv_sec * NSEC_PER_SEC + a.tv_nsec;
89 second = (unsigned long long)b.tv_sec * NSEC_PER_SEC + b.tv_nsec;
  /system/extras/iotop/
iotop.cpp 30 constexpr uint64_t NSEC_PER_SEC = 1000000000;
37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f);

Completed in 1489 milliseconds

1 2