Lines Matching refs:tv_sec
22 return (((long long) t.tv_sec) * 1000000000LL) + in nanotime()
29 r.tv_sec = a.tv_sec - b.tv_sec; in ts_sub()
32 r.tv_sec--; in ts_sub()
35 if(r.tv_sec < 0 && r.tv_nsec > 0) { in ts_sub()
36 r.tv_sec++; 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()
65 dtmin.tv_sec = INT_MAX; in main()
67 dtminp.tv_sec = INT_MAX; in main()
69 dtmax.tv_sec = 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()