Searched defs:interval (Results 1 - 18 of 18) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dlazyinit.c80 PRIntervalTime interval = 0; local
96 case 1: interval = PR_SecondsToInterval(1);
H A Dlockfile.c94 PRIntervalTime interval; member in struct:LockContentious_s
134 PR_Sleep(contention->interval);
155 contention.interval = contention_interval;
166 contention.overhead += contention.interval;
167 PR_Sleep(contention.interval);
H A Dalarm.c178 PRIntervalTime interval = PR_MillisecondsToInterval(50); local
185 overhead += interval;
186 PR_ASSERT(PR_WaitCondVar(cv, interval) == PR_SUCCESS);
209 PRIntervalTime interval, now = PR_IntervalNow(); local
221 interval = (ad->period + ad->rate - 1) / ad->rate;
222 if (!late && (interval > 10))
224 interval &= (now & 0x03) + 1;
225 PR_WaitCondVar(ad->cv, interval);
306 PRIntervalTime interval, now = PR_IntervalNow(); local
312 interval
[all...]
H A Dlock.c109 PRIntervalTime interval; member in struct:LockContentious_s
118 PRIntervalTime interval; member in struct:MonitorContentious_s
168 contention->overhead += contention->interval;
169 PR_Sleep(contention->interval);
185 contention->interval = contention_interval;
197 contention->overhead += contention->interval;
198 PR_Sleep(contention->interval);
292 contention->overhead += contention->interval;
293 PR_Sleep(contention->interval);
309 contention->interval
[all...]
H A Dthruput.c104 PRIntervalTime now, interval; local
156 interval = now - shared->timein;
157 if (interval > sampling_interval)
168 PRUint32 rate = sampled / PR_IntervalToMilliseconds(interval);
213 PRIntervalTime now, interval; local
243 interval = now - shared->timein;
244 if (interval > sampling_interval)
255 PRUint32 rate = sampled / PR_IntervalToMilliseconds(interval);
/vbox/src/VBox/Frontends/VirtualBox/src/platform/x11/
H A DVBoxX11Helper.cpp73 int timeout, interval, preferBlank, allowExp; local
76 XGetScreenSaver(display, &timeout, &interval, &preferBlank, &allowExp);
78 XSetScreenSaver(display, timeout, interval, preferBlank, allowExp);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_work.c70 dtrace_optval_t interval = dtp->dt_options[opt]; local
81 if (*((hrtime_t *)a) + interval < earliest)
82 earliest = *((hrtime_t *)a) + interval;
140 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_STATUSRATE]; local
150 if (now - dtp->dt_laststatus < VBDTCAST(hrtime_t)interval)
153 dtp->dt_laststatus += interval;
H A Ddt_aggregate.c637 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_AGGRATE]; local
640 if (now - dtp->dt_lastagg < interval)
643 dtp->dt_lastagg += interval;
H A Ddt_consume.c2234 dtrace_optval_t interval = dtp->dt_options[DTRACEOPT_SWITCHRATE]; local
2238 if (now - dtp->dt_lastswitch < VBDTCAST(hrtime_t)interval)
2241 dtp->dt_lastswitch += interval;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcinrval.h39 ** C++ interval times (ref: prinrval.h)
41 ** An interval is a period of time. The start of the interval (epoch)
42 ** must be defined by the application. The unit of time of an interval
43 ** is platform dependent, therefore so is the maximum interval that is
44 ** representable. However, that interval is never less than ~6 hours.
62 RCInterval(PRIntervalTime interval);
69 void operator=(PRIntervalTime interval);
100 PRIntervalTime interval; local
108 { interval
[all...]
/vbox/src/VBox/Devices/USB/
H A DVUSBReadAhead.cpp178 unsigned max_pkt_size, mult, interval; local
196 interval = pDesc->bInterval ? 1 << (pDesc->bInterval - 1) : 1;
204 interval = pDesc->bInterval;
208 Log(("vusb: interval=%u, max pkt size=%u, multiplier=%u\n", interval, max_pkt_size, mult));
218 pUrb = vusbDevNewIsocUrb(pThis->pDev, pDesc->bEndpointAddress & 0xF, interval, max_pkt_size * mult);
/vbox/src/VBox/Devices/Network/lwip/src/core/
H A Dtcp.c945 * from TCP. The interval is specified in terms of the TCP coarse
946 * timer interval, which is called twice a second.
951 err_t (* poll)(void *arg, struct tcp_pcb *tpcb), u8_t interval)
956 pcb->pollinterval = interval;
950 tcp_poll(struct tcp_pcb *pcb, err_t (* poll)(void *arg, struct tcp_pcb *tpcb), u8_t interval) argument
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGMachinePreview.cpp99 /* Initialize with the new update interval: */
198 if (m_pUpdateTimer->interval() > 0)
339 PreviewUpdateIntervalType interval = static_cast<PreviewUpdateIntervalType>(pReturn->data().toInt()); local
340 setUpdateInterval(interval, true);
418 void UIGMachinePreview::setUpdateInterval(PreviewUpdateIntervalType interval, bool fSave) argument
420 switch (interval)
434 /* Set the timer interval: */
435 m_pUpdateTimer->setInterval(gpConverter->toInternalInteger(interval));
437 m_actions[interval]->setChecked(true);
444 gEDataManager->setSelectorWindowPreviewUpdateInterval(interval);
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/
H A Dprofile.c157 profile_create(hrtime_t interval, const char *name, int kind) argument
165 if (interval < profile_interval_min)
179 prof->prof_interval = interval;
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Dtcp.c1569 * from TCP. The interval is specified in terms of the TCP coarse
1570 * timer interval, which is called twice a second.
1574 tcp_poll(struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval) argument
1582 pcb->pollinterval = interval;
/vbox/src/VBox/Additions/common/crOpenGL/
H A Ddri_util.c529 static void driSetSwapInterval(__DRIdrawable *dPriv, unsigned int interval) argument
531 dPriv->swap_interval = interval;
1054 * Calculate amount of swap interval used between GLX buffer swaps.
1057 * interval time used between GLX buffer swaps is calculated.
1062 * swap interval (as set by \c glXSwapIntervalSGI), and \f$t_r\f$ time
1070 * \return If less than a single swap interval time period was required
1072 * 1.0 is returned. If exactly one swap interval time period is
1087 int interval; local
1092 interval = (dPriv->swap_interval != 0) ? dPriv->swap_interval : 1;
1096 * (current_UST - last_swap_UST) / (interval * us_per_refres
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/extradata/
H A DUIExtraDataManager.cpp2395 void UIExtraDataManager::setSelectorWindowPreviewUpdateInterval(PreviewUpdateIntervalType interval) argument
2397 setExtraDataString(GUI_PreviewUpdate, gpConverter->toInternalString(interval));
/vbox/src/VBox/Frontends/VBoxSDL/
H A DVBoxSDL.cpp155 static Uint32 StartupTimer(Uint32 interval, void *param);
156 static Uint32 ResizeTimer(Uint32 interval, void *param);
157 static Uint32 QuitTimer(Uint32 interval, void *param);
5027 static Uint32 StartupTimer(Uint32 interval, void *param) argument
5035 return interval;
5041 static Uint32 ResizeTimer(Uint32 interval, void *param) argument
5055 static Uint32 QuitTimer(Uint32 interval, void *param) argument

Completed in 127 milliseconds