Searched refs:tv_nsec (Results 1 - 25 of 98) sorted by relevance

1234

/xsrc/external/mit/MesaLib/dist/include/android_stub/log/
H A Dlog_time.h29 #define LOG_TIME_NSEC(t) ((t)->tv_nsec & (UINT32_MAX >> 2))
38 uint32_t tv_nsec = 0; member in struct:log_time
44 : tv_sec(static_cast<uint32_t>(T.tv_sec)), tv_nsec(static_cast<uint32_t>(T.tv_nsec)) {}
46 : tv_sec(sec), tv_nsec(nsec) {
53 tv_nsec = static_cast<uint32_t>(T.tv_nsec);
59 (tv_nsec == static_cast<uint32_t>(T.tv_nsec));
67 (tv_nsec < static_cas
159 uint32_t tv_nsec; member in struct:log_time
[all...]
H A Dlogprint.h58 long tv_nsec; member in struct:AndroidLogEntry_t
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dtimespec.h54 r->tv_nsec = a->tv_nsec + b->tv_nsec;
55 if (r->tv_nsec > NSEC_PER_SEC) {
57 r->tv_nsec -= NSEC_PER_SEC;
73 r->tv_nsec = a->tv_nsec - b->tv_nsec;
74 if (r->tv_nsec < 0) {
76 r->tv_nsec
195 timespec_to_proto(const struct timespec * a,uint32_t * tv_sec_hi,uint32_t * tv_sec_lo,uint32_t * tv_nsec) argument
254 timespec_from_proto(struct timespec * a,uint32_t tv_sec_hi,uint32_t tv_sec_lo,uint32_t tv_nsec) argument
[all...]
H A Dos_time.c60 return tv.tv_nsec + tv.tv_sec*INT64_C(1000000000);
98 time.tv_nsec = (usecs % 1000000) * 1000;
H A Dcnd_monotonic.h117 const uint64_t future = (abs_time->tv_sec * 1000) + (abs_time->tv_nsec / 1000000);
/xsrc/external/mit/MesaLib/dist/src/util/tests/timespec/
H A Dtimespec_test.cpp35 a.tv_nsec = NSEC_PER_SEC - 1;
37 b.tv_nsec = 2;
40 EXPECT_EQ(r.tv_nsec, 1);
48 a.tv_nsec = 1;
50 b.tv_nsec = 2;
53 EXPECT_EQ(r.tv_nsec, NSEC_PER_SEC - 1);
61 a.tv_nsec = 4;
70 a.tv_nsec = 4000;
79 a.tv_nsec = 4000000;
88 uint32_t tv_nsec; local in function:TEST
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/drm/
H A Dmsm_priv.h143 tv->tv_nsec = t.tv_nsec + ns % NSEC_PER_SEC;
144 if (tv->tv_nsec >= NSEC_PER_SEC) { /* handle nsec overflow */
145 tv->tv_nsec -= NSEC_PER_SEC;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_fence.c136 ts.tv_nsec += timeout % 1000000000L;
138 if (ts.tv_nsec >= 1000000000L) {
140 ts.tv_nsec -= 1000000000L;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_fence.c136 ts.tv_nsec += timeout % 1000000000L;
138 if (ts.tv_nsec >= 1000000000L) {
140 ts.tv_nsec -= 1000000000L;
/xsrc/external/mit/MesaLib/dist/src/etnaviv/drm/
H A Detnaviv_priv.h213 tv->tv_nsec = t.tv_nsec + ns % NSEC_PER_SEC;
214 if (tv->tv_nsec >= NSEC_PER_SEC) {
215 tv->tv_nsec -= NSEC_PER_SEC;
/xsrc/external/mit/libdrm/dist/freedreno/msm/
H A Dmsm_priv.h112 tv->tv_nsec = t.tv_nsec + ns - (s * 1000000000);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dos_time.c62 return tv.tv_nsec + tv.tv_sec*INT64_C(1000000000);
101 time.tv_nsec = (usecs % 1000000) * 1000;
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
H A Dwsi_common_queue.h119 uint32_t abs_nsec = now.tv_nsec + timeout % NSEC_PER_SEC;
128 abstime.tv_nsec = abs_nsec;
/xsrc/external/mit/MesaLib/dist/src/vulkan/wsi/
H A Dwsi_common_queue.h117 uint32_t abs_nsec = now.tv_nsec + timeout % NSEC_PER_SEC;
126 abstime.tv_nsec = abs_nsec;
/xsrc/external/mit/libdrm/dist/tests/exynos/
H A Dexynos_fimg2d_perf.c99 g2d_time += (end.tv_nsec - tspec.tv_nsec);
192 g2d_time += (end.tv_nsec - tspec.tv_nsec);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/lima/
H A Dlima_util.c46 current_ns += current.tv_nsec;
/xsrc/external/mit/libdrm/dist/etnaviv/
H A Detnaviv_priv.h205 tv->tv_nsec = t.tv_nsec + ns - (s * 1000000000);
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/drm/
H A Dmsm_priv.h112 tv->tv_nsec = t.tv_nsec + ns - (s * 1000000000);
/xsrc/external/mit/xterm/dist/
H A Dgraphics_sixel.c476 && when->tv_nsec < now.tv_nsec)) {
481 when->tv_nsec += now.tv_nsec + increment->tv_nsec;
482 while (when->tv_nsec >= TS_SEC) {
484 when->tv_nsec -= TS_SEC;
/xsrc/external/mit/MesaLib/dist/src/intel/ds/
H A Dintel_pps_driver.cc74 return 1000000000ull * (end->tv_sec - begin->tv_sec) + end->tv_nsec - begin->tv_nsec;
117 (attempts[best].cpu_ts_begin.tv_sec * 1000000000ull + attempts[best].cpu_ts_begin.tv_nsec) +
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Ddri2-swap.c75 1e-9*(end->tv_nsec - start->tv_nsec);
H A Dtest_display.c168 return (now.tv_sec - tv->tv_sec) + 1e-9*(now.tv_nsec - tv->tv_nsec);
/xsrc/external/mit/xload/dist/
H A Dget_load.c300 + (nto_now.tv_nsec - nto_last.tv_nsec);
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Ddri2-swap.c75 1e-9*(end->tv_nsec - start->tv_nsec);
H A Dtest_display.c168 return (now.tv_sec - tv->tv_sec) + 1e-9*(now.tv_nsec - tv->tv_nsec);

Completed in 16 milliseconds

1234