Searched refs:tv_sec (Results 1 – 21 of 21) sorted by relevance
46 ((a)->tv_sec = (a)->tv_usec = 0)49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)52 ((a)->tv_sec == (b)->tv_sec \54 : (a)->tv_sec op (b)->tv_sec)58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \62 (res)->tv_sec += 1; \68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \72 (res)->tv_sec -= 1; \
51 double time = Time.tv_sec + Time.tv_usec * 1.0 / 1000000.0; in Update()56 if( Time.tv_sec - tv_last_sec_ >= 1 ) in Update()58 double time = Time.tv_sec + Time.tv_usec * 1.0 / 1000000.0; in Update()60 tv_last_sec_ = Time.tv_sec; in Update()
55 double ret = time.tv_sec + time.tv_usec * 1.0 / 1000000.0; in GetCurrentTime()
107 (t3.tv_sec - t1.tv_sec) + (t3.tv_nsec - t1.tv_nsec)/1e9; in main()109 (t2.tv_sec - t1.tv_sec) + (t2.tv_nsec - t1.tv_nsec)/1e9; in main()111 (t3.tv_sec - t2.tv_sec) + (t3.tv_nsec - t2.tv_nsec)/1e9; in main()
26 __kernel_time_t tv_sec; member32 __kernel_time_t tv_sec; member
295 __s64 tv_sec; member
72 time_t tv_sec; member
20 time_t tv_sec; member26 time_t tv_sec; member
62 time_t tv_sec; member
208 double elapsedTime = (ts2.tv_sec - ts1.tv_sec)*1000.0; // sec to ms in main()242 elapsedTime = (ts4.tv_sec - ts3.tv_sec)*1000.0; // sec to ms in main()
79 #define ut_time ut_tv.tv_sec
85 #define ut_time ut_tv.tv_sec
43 return (long)(now.tv_sec*1000 + now.tv_usec/1000); in _getTime()
235 appRender(timeNow.tv_sec * 1000 + timeNow.tv_usec / 1000, in main()
46 return tv.tv_sec*1000. + tv.tv_usec/1000.; in now_ms()397 t.tv_sec = t.tv_nsec = 0; in engine_draw_frame()399 int64_t time_ms = (((int64_t)t.tv_sec)*1000000000LL + t.tv_nsec)/1000000; in engine_draw_frame()
39 return 1000.0*res.tv_sec + (double)res.tv_nsec/1e6; in now_ms()
578 return 1000.0*res.tv_sec + (double)res.tv_usec/1e3; in now_ms()
196 uint64_t nowNs = now.tv_sec*1000000000ull + now.tv_nsec; in step()
84 return now.tv_sec * 1000000000LL + now.tv_nsec; in systemnanotime()
41 return tv.tv_sec*1000. + tv.tv_usec/1000.; in now_ms()