Searched refs:interval (Results 1 - 25 of 34) sorted by relevance

12

/darwin-on-arm/xnu/osfmk/kern/
H A Dsyscall_subr.h65 uint64_t interval);
68 mach_msg_timeout_t interval);
H A Dclock.c113 static uint32_t calend_adjinterval; /* Absolute time interval of adjustment period */
129 void _clock_delay_until_deadline(uint64_t interval,
541 uint32_t interval; local
547 interval = calend_set_adjustment(secs, microsecs);
548 if (interval != 0) {
549 calend_adjdeadline = mach_absolute_time() + interval;
568 uint32_t interval = 0; local
652 * Set the interval in absolute time for later return.
654 interval = calend_adjinterval;
678 return (interval);
684 uint32_t interval; local
709 uint32_t interval = 0; local
819 _clock_delay_until_deadline( uint64_t interval, uint64_t deadline) argument
840 delay_for_interval( uint32_t interval, uint32_t scale_factor) argument
862 clock_interval_to_deadline( uint32_t interval, uint32_t scale_factor, uint64_t *result) argument
890 clock_deadline_for_periodic_event( uint64_t interval, uint64_t abstime, uint64_t *deadline) argument
[all...]
H A Dclock.h120 extern void machine_delay_until(uint64_t interval,
167 uint64_t interval,
204 uint32_t interval,
209 uint32_t interval,
277 uint32_t interval,
H A Dsyscall_subr.c337 * Depress thread's priority to lowest possible for the specified interval,
342 uint64_t interval)
357 if (interval != 0) {
358 clock_absolutetime_interval_to_deadline(interval, &deadline);
369 mach_msg_timeout_t interval)
374 interval, 1000*NSEC_PER_USEC, &abstime);
341 thread_depress_abstime( uint64_t interval) argument
368 thread_depress_ms( mach_msg_timeout_t interval) argument
H A Dsched_prim.h375 uint32_t interval,
419 uint32_t interval,
H A Dtask_policy.c54 int task_set_cpuusage(task_t task, uint64_t percentage, uint64_t interval, uint64_t deadline, int scope);
1398 * after I have used some amount of CPU time; this is different than the recurring percentage/interval model)
1405 proc_set_task_ruse_cpu(task_t task, uint32_t policy, uint32_t percentage, uint64_t interval, uint64_t deadline) argument
1443 error = task_set_cpuusage(task, percentage, interval, deadline, scope);
1539 task_set_cpuusage(task_t task, uint64_t percentage, uint64_t interval, uint64_t deadline, int scope) argument
1549 if (interval == 0)
1550 interval = NSEC_PER_SEC;
1555 limittime = (interval * percentage)/ 100;
1565 task->rusage_cpu_perthr_interval = interval;
1576 task->rusage_cpu_interval = interval;
[all...]
H A Dtask.h351 uint64_t rusage_cpu_interval; /* Task-wide CPU limit interval */
353 uint64_t rusage_cpu_perthr_interval; /* Per-thread CPU limit interval */
611 int proc_set_task_ruse_cpu(task_t task, uint32_t policy, uint32_t percentage, uint64_t interval, uint64_t deadline);
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOTimerEventSource.h134 @param interval Delay from now to wake up, in scheduler ticks, whatever that may be.
140 @param interval Delay from now to wake up, time in milliseconds.
146 @param interval Delay from now to wake up, time in microseconds.
152 @param interval Delay from now to wake up in some defined unit.
153 @param scale_factor Define the unit of interval, default to nanoseconds.
155 virtual IOReturn setTimeout(UInt32 interval,
159 virtual IOReturn setTimeout(mach_timespec_t interval)
165 @param interval Delay from now to wake up in decrementer ticks.
167 virtual IOReturn setTimeout(AbsoluteTime interval);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOTimerEventSource.cpp97 // the timeout interval expires.
280 IOReturn IOTimerEventSource::setTimeout(UInt32 interval, UInt32 scale_factor) argument
284 clock_interval_to_deadline(interval, scale_factor, &end);
289 IOReturn IOTimerEventSource::setTimeout(mach_timespec_t interval) argument
294 (interval.tv_nsec, kNanosecondScale, &nsecs);
296 (interval.tv_sec, NSEC_PER_SEC, &end);
303 IOReturn IOTimerEventSource::setTimeout(AbsoluteTime interval) argument
308 ADD_ABSOLUTETIME(&end, &interval);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_memorystatus.c213 { 60, 8, 0, 0, { 0, 0 }, FALSE }, /* 1 hour intermediate interval, 8x burst */
214 { 24 * 60, 1, 0, 0, { 0, 0 }, FALSE }, /* 24 hour long interval, no burst */
1558 memorystatus_freeze_update_throttle_interval(mach_timespec_t *ts, struct throttle_interval_t *interval) argument
1560 if (CMP_MACH_TIMESPEC(ts, &interval->ts) >= 0) {
1561 if (!interval->max_pageouts) {
1562 interval->max_pageouts = (interval->burst_multiple * (((uint64_t)interval->mins * FREEZE_DAILY_PAGEOUTS_MAX) / (24 * 60)));
1564 printf("memorystatus_freeze_update_throttle_interval: %d minute throttle timeout, resetting\n", interval->mins);
1566 interval
[all...]
H A Dkern_clock.c114 * The hz hardware interval timer.
129 * interval: timeout interval, in hz.
135 int interval)
139 clock_interval_to_deadline(interval, NSEC_PER_SEC / hz, &deadline);
160 * ts: timeout interval, in timespec
132 timeout( timeout_fcn_t fcn, void *param, int interval) argument
H A Dsys_generic.c2409 * ((tv != NULL && interval == 0) || tv == -1)
2417 uint64_t abstime, interval; local
2424 interval = 0;
2468 interval = tvtoabstime(&atv);
2510 if (uap->tv && interval == 0) {
2517 if (interval != 0)
2518 clock_absolutetime_interval_to_deadline(interval, &abstime);
/darwin-on-arm/xnu/osfmk/i386/
H A Drtclock.c518 uint32_t interval,
522 *result = (uint64_t)interval * scale_factor;
570 uint64_t interval,
573 (void)interval;
517 clock_interval_to_absolutetime_interval( uint32_t interval, uint32_t scale_factor, uint64_t *result) argument
569 machine_delay_until( uint64_t interval, uint64_t deadline) argument
H A Dmachine_routines.h85 boolean_t ml_delay_should_spin(uint64_t interval);
H A Dmachine_routines.c576 ml_delay_should_spin(uint64_t interval) argument
578 return (interval < delay_spin_threshold) ? TRUE : FALSE;
H A DpmCPU.c81 static inline void machine_classify_interval(uint64_t interval, uint64_t *bins, uint64_t *binvals, uint32_t nbins) { argument
84 if (interval < binvals[i]) {
/darwin-on-arm/xnu/osfmk/arm/
H A Drtclock.c195 void machine_delay_until(uint64_t interval, uint64_t deadline) argument
223 clock_interval_to_absolutetime_interval(uint32_t interval, uint32_t scale_factor, uint64_t* result) argument
225 *result = (uint64_t)interval * scale_factor;
H A Dmachine_routines.h83 boolean_t ml_delay_should_spin(uint64_t interval);
H A Dmachine_routines.c464 boolean_t ml_delay_should_spin(uint64_t interval) argument
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dprofile_prvd.c285 profile_create(hrtime_t interval, const char *name, int kind) argument
289 if (interval < profile_interval_min)
310 prof->prof_interval = interval;
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_subr.c595 int64_t interval; local
610 interval = now - tbr->tbr_last;
611 if (interval >= tbr->tbr_filluptime) {
614 tbr->tbr_token += interval * tbr->tbr_rate;
726 * depth value should be computed such that the interval time
728 * in order to reduce scheduling overheads. A target interval
/darwin-on-arm/xnu/bsd/netat/
H A Dappletalk.h223 short interval; /* Retry interval in seconds */ member in struct:at_retry
H A Dasp_proto.c411 Retry.interval = 1;
729 sd->def_rate = retry->interval*TICKS_PER_SEC;
806 retry.interval = scb->tickle_interval;
2026 sd->def_rate = scb->cmd_retry.interval*TICKS_PER_SEC;
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_serv.c989 int nfsrv_fmod_min_interval = 100; /* msec min interval between callbacks */
1003 int interval = 0, i, fmod_fire; local
1080 interval = (next_deadline - timenow) / (1000 * 1000);
1081 if (interval < nfsrv_fmod_min_interval)
1082 interval = nfsrv_fmod_min_interval;
1085 nfsrv_fmod_timer_on = interval > 0;
1087 nfs_interval_timer_start(nfsrv_fmod_timer_call, interval);
1740 int interval; local
1774 interval = (next_usec - cur_usec) / 1000;
1775 if (interval <
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dif_bond.c4300 int interval; local
4329 interval = LACP_FAST_PERIODIC_TIME;
4332 interval = LACP_SLOW_PERIODIC_TIME;
4334 if (p->po_periodic_interval != interval) {
4335 if (interval == LACP_FAST_PERIODIC_TIME
4344 p->po_periodic_interval = interval;
4346 tv.tv_sec = interval;

Completed in 100 milliseconds

12