Searched refs:tv_usec (Results 1 – 25 of 63) sorted by relevance
123
47 timediff_t tv_usec = (ms % 1000) * 1000; /* max=999999 */ in curlx_mstotv() local55 tv->tv_usec = (suseconds_t)tv_usec; in curlx_mstotv()63 tv->tv_usec = (long)tv_usec; in curlx_mstotv()71 tv->tv_usec = (int)tv_usec; in curlx_mstotv()76 tv->tv_usec = 0; in curlx_mstotv()87 return (tv->tv_sec*1000) + (timediff_t)(((double)tv->tv_usec)/1000.0); in curlx_tvtoms()
55 now.tv_usec = (int)((milliseconds % 1000) * 1000); in Curl_now()98 cnow.tv_usec = (int)(tsnow.tv_nsec / 1000); in Curl_now()110 cnow.tv_usec = (int)(tsnow.tv_nsec / 1000); in Curl_now()121 cnow.tv_usec = (int)now.tv_usec; in Curl_now()126 cnow.tv_usec = 0; in Curl_now()158 cnow.tv_usec = (int)(usecs % 1000000); in Curl_now()176 ret.tv_usec = (int)now.tv_usec; in Curl_now()189 now.tv_usec = 0; in Curl_now()208 return diff * 1000 + (newer.tv_usec-older.tv_usec)/1000; in Curl_timediff()222 return diff * 1000 + (newer.tv_usec - older.tv_usec + 999)/1000; in Curl_timediff_ceil()[all …]
33 int tv_usec; /* microseconds */ member
41 now.tv_usec = (long)((milliseconds % 1000) * 1000); in tutil_tvnow()60 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tutil_tvnow()73 now.tv_usec = 0; in tutil_tvnow()102 now.tv_usec = 0; in tutil_tvnow()117 (long)(newer.tv_usec-older.tv_usec)/1000; in tutil_tvdiff()129 (double)(newer.tv_usec-older.tv_usec)/1000000.0; in tutil_tvdiff_secs()130 return (double)(newer.tv_usec-older.tv_usec)/1000000.0; in tutil_tvdiff_secs()
106 interval.tv_usec = (itimeout%1000)*1000; in test()110 interval.tv_usec = 0; in test()
131 timeout->tv_usec += (int)timeout_ms * 1000; in curlTimerCallback()174 timeout->tv_usec - now.tv_usec); in getMicroSecondTimeout()312 tv.tv_usec = usTimeout % 1000000; in test()316 tv.tv_usec = 100000; in test()
87 timeout.tv_usec = 0; in test()94 timeout.tv_usec = 0; in test()
124 interval.tv_usec = (itimeout%1000)*1000; in test()128 interval.tv_usec = 100000L; /* 100 ms */ in test()
163 timeout->tv_usec += (int)timeout_ms * 1000; in curlTimerCallback()206 timeout->tv_usec - now.tv_usec); in getMicroSecondTimeout()316 tv.tv_usec = usTimeout % 1000000; in testone()320 tv.tv_usec = 100000; in testone()
104 timeout.tv_usec = 0; in test()111 timeout.tv_usec = 0; in test()
61 timeout.tv_usec = 100000L; /* 100 ms */ in test()
64 interval.tv_usec = 0; in test()
89 timeout.tv_usec = 0; in test()
72 interval.tv_usec = 0; in test()
153 T.tv_usec = (itimeout%1000)*1000; in loop()157 T.tv_usec = 0; in loop()
66 interval.tv_usec = 0; in test()
45 now.tv_usec = (long)((count.QuadPart % tool_freq.QuadPart) * 1000000 / in tvnow()60 now.tv_usec = (long)((milliseconds % 1000) * 1000); in tvnow()80 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()93 now.tv_usec = 0; in tvnow()122 now.tv_usec = 0; in tvnow()137 (long)(newer.tv_usec-older.tv_usec)/1000; in tvdiff()
56 timeout.tv_usec = (int)ms * 1000; in tool_go_sleep()
138 times[0].tv_usec = times[1].tv_usec = 0; in setfiletime()
55 (long)t->key.tv_usec, i); in splayprint()89 key.tv_usec = (541*i)%1023;90 storage[i] = key.tv_usec;119 key.tv_usec = (541*i)%1023;123 storage[i * 3 + j] = key.tv_usec*10 + j;132 tv_now.tv_usec = i;
52 data->progress.t_startsingle.tv_usec = fake_now.tv_usec; in fake_t_startsingle_time()94 data.progress.start.tv_usec = now.tv_usec;
59 tests[i].first.tv_usec,61 tests[i].second.tv_usec,
56 #define NOW(x,y) now.tv_sec = x; now.tv_usec = y141 testdata->progress.t_startsingle.tv_usec = 0;143 testdata->progress.t_startop.tv_usec = 0;
99 timeout.tv_usec = 0; in main()107 timeout.tv_usec = (int)(curl_timeo % 1000) * 1000; in main()
112 (long)tv.tv_usec); in logmsg()259 pending_tv.tv_usec = (pending_ms % 1000) * 1000; in wait_ms()389 now.tv_usec = (long)((milliseconds % 1000) * 1000); in tvnow()408 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()421 now.tv_usec = 0; in tvnow()450 now.tv_usec = 0; in tvnow()464 (long)(newer.tv_usec-older.tv_usec)/1000; in timediff()
Completed in 39 milliseconds