Lines Matching refs:tv_nsec
23 ((long long) t.tv_nsec); in nanotime()
30 r.tv_nsec = a.tv_nsec - b.tv_nsec; in ts_sub()
31 if(r.tv_nsec < 0) { in ts_sub()
33 r.tv_nsec += 1000 * 1000 * 1000; in ts_sub()
35 if(r.tv_sec < 0 && r.tv_nsec > 0) { in ts_sub()
37 r.tv_nsec -= 1000 * 1000 * 1000; in ts_sub()
44 if(a.tv_sec < b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_nsec < b.tv_nsec)) in ts_min()
52 if(a.tv_sec < b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_nsec < b.tv_nsec)) in ts_max()
66 dtmin.tv_nsec = 0; in main()
68 dtminp.tv_nsec = 0; in main()
70 dtmax.tv_nsec = 0; in main()
85 if(dt.tv_sec > 0 || dt.tv_nsec > 0) in main()
91 t.tv_sec, t.tv_nsec, dt.tv_sec, dt.tv_nsec, in main()
92 dtmin.tv_sec, dtmin.tv_nsec, dtminp.tv_sec, dtminp.tv_nsec, in main()
93 dtmax.tv_sec, dtmax.tv_nsec); in main()