Searched refs:timein (Results 1 - 15 of 15) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dsleep.c77 struct timeval timein, timeout; local
82 (void)GTOD(&timein);
86 elapsed = 1000000UL * (timeout.tv_sec - timein.tv_sec);
87 elapsed += (timeout.tv_usec - timein.tv_usec);
96 (void)GTOD(&timein);
100 elapsed = 1000000UL * (timeout.tv_sec - timein.tv_sec);
101 elapsed += (timeout.tv_usec - timein.tv_usec);
112 (void)GTOD(&timein);
118 elapsed = 1000000UL * (timeout.tv_sec - timein.tv_sec);
119 elapsed += (timeout.tv_usec - timein
[all...]
H A Dalarm.c134 PRIntervalTime timein, overhead; local
136 timein = PR_IntervalNow();
147 overhead = PR_IntervalNow() - timein; /* elapsed so far */
159 timein = PR_IntervalNow();
166 overhead += (PR_IntervalNow() - timein); /* more overhead */
174 PRIntervalTime overhead, timein = PR_IntervalNow(); local
180 overhead = PR_IntervalNow() - timein;
190 timein = PR_IntervalNow();
193 overhead += (PR_IntervalNow() - timein);
202 PRIntervalTime duration, timein, perio member in struct:AlarmData
261 PRIntervalTime overhead, timein = PR_IntervalNow(); local
335 PRIntervalTime overhead, timein = PR_IntervalNow(); local
390 PRIntervalTime overhead, timein = PR_IntervalNow(); local
458 PRIntervalTime predicted, timein, timeout, ticks; local
[all...]
H A Dinrval.c110 PRIntervalTime timeout, timein = PR_IntervalNow(); local
114 elapsed = 1000U * PR_IntervalToMicroseconds(timeout - timein);
122 PRTime timeout, timein; local
129 timein = PR_Now();
133 LL_SUB(elapsed, timeout, timein);
147 PRTime timein, timeout; local
154 timein = PR_Now();
158 LL_SUB(elapsed, timeout, timein);
H A Dlockfile.c150 PRIntervalTime overhead, timein = PR_IntervalNow(); local
161 overhead = PR_IntervalNow() - timein;
171 timein = PR_IntervalNow();
174 overhead += (PR_IntervalNow() - timein);
193 PRIntervalTime timeout, timein = PR_IntervalNow(); local
196 duration = timeout - timein;
H A Dlock.c179 PRIntervalTime rv, overhead, timein = PR_IntervalNow(); local
191 overhead = PR_IntervalNow() - timein;
202 timein = PR_IntervalNow();
205 overhead += (PR_IntervalNow() - timein);
303 PRIntervalTime rv, overhead, timein = PR_IntervalNow(); local
315 overhead = PR_IntervalNow() - timein;
326 timein = PR_IntervalNow();
329 overhead += (PR_IntervalNow() - timein);
371 PRIntervalTime overhead, timein = PR_IntervalNow(); local
382 overhead = PR_IntervalNow() - timein;
420 PRIntervalTime timeout, timein = PR_IntervalNow(); local
[all...]
H A Dpriotest.c71 static PRUint32 PerSecond(PRIntervalTime timein) argument
74 while (((PRIntervalTime)(PR_IntervalNow()) - timein) < oneSecond)
95 PRIntervalTime timein = PR_IntervalNow(); local
97 t0 = PerSecond(timein);
H A Dwritev.c67 PRIntervalTime timein, elapsed, timeout; local
154 timein = PR_IntervalNow();
185 elapsed = PR_IntervalNow() - timein;
H A Dthruput.c82 PRIntervalTime timein; member in struct:Shared
156 interval = now - shared->timein;
160 shared->timein = now;
243 interval = now - shared->timein;
247 shared->timein = now;
H A Dswitch.c121 PRIntervalTime timein, timeout; local
203 timein = PR_IntervalNow();
218 timeout += (PR_IntervalNow() - timein);
H A Dranfile.c87 PRIntervalTime timein; member in struct:Hammer_s
361 hammer[active].timein = PR_IntervalNow();
399 PR_IntervalNow() - hammer[poll].timein);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/
H A Dswitch.cpp192 RCInterval timein, timeout = 0; local
205 timein.SetToNow();
217 timeout += (RCInterval(RCInterval::now) - timein);
H A Dranfile.cpp92 RCInterval timein; member in class:HammerData
165 timein = RCInterval(RCInterval::now);
404 duration = RCInterval(RCInterval::now) - hammer[poll]->timein;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/
H A Dprcthr.c143 PRIntervalTime timein; local
145 timein = PR_IntervalNow();
151 PRIntervalTime delta = PR_IntervalNow() - timein;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/
H A Dmacthr.c323 PRIntervalTime timein = PR_IntervalNow(); local
337 while ((thread->io_pending) && ((PRIntervalTime)(PR_IntervalNow() - timein) < timeout) && (status == PR_SUCCESS))
385 PRIntervalTime timein = PR_IntervalNow(); local
396 while ((!thread->md.asyncNotifyPending) && ((PRIntervalTime)(PR_IntervalNow() - timein) < timeout) && (status == PR_SUCCESS))
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptthread.c849 PRIntervalTime timein; local
851 timein = PR_IntervalNow();
858 PRIntervalTime delta = now - timein;

Completed in 243 milliseconds