Searched refs:ticks (Results 1 - 21 of 21) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/include/
H A Dyarrow.h137 LONGLONG ticks);
141 LONGLONG ticks);
146 LONGLONG ticks);
156 YARROWAPI int prngForceReseed(LONGLONG ticks);
157 YARROWAPI int prngAllowReseed(LONGLONG ticks);
158 YARROWAPI int prngProcessSeedBuffer(BYTE *buf,LONGLONG ticks);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_clock.c198 long ticks; local
205 * ticks. Otherwise just compute number of hz in time, rounding
209 * Maximum value for any timeout in 10ms ticks is 250 days.
213 ticks = ((tv->tv_sec - now.tv_sec) * 1000 +
217 ticks = sec * hz;
219 ticks = 0x7fffffff;
221 return (ticks);
249 * Compute number of ticks in the specified amount of time.
254 unsigned long ticks; local
261 * ticks, roundin
335 int ticks; local
[all...]
H A Dsubr_prof.c505 * lose profile ticks when the next tick overwrites this one, but in this
513 addupc_task(struct proc *p, user_addr_t pc, u_int ticks) argument
519 if ((p->p_flag & P_PROFIL) == 0 || ticks == 0)
532 count += ticks;
552 count += ticks;
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/
H A DOSBase.h83 #define ADD_ABSOLUTETIME_TICKS(t1, ticks) \
85 (int32_t)(ticks))
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dtimer.h91 #define TIMER_BUMP(timer, ticks) \
96 low = old_low + (ticks); \
110 #define TIMER_BUMP(timer, ticks)
H A Dmach_clock.c97 __unused natural_t ticks,
99 natural_t ticks,
113 TIMER_BUMP(&thread->user_timer, ticks);
120 TIMER_BUMP(&thread->system_timer, ticks);
129 TIMER_BUMP(state, ticks);
95 hertz_tick( __unused natural_t ticks, boolean_t usermode, natural_t pc) argument
H A Dpriority.c298 register unsigned ticks; local
301 ticks = sched_tick - thread->sched_stamp;
302 assert(ticks != 0);
303 thread->sched_stamp += ticks;
310 if (ticks < SCHED_DECAY_TICKS) {
324 shiftp = &sched_decay_shifts[ticks];
H A Dclock.h116 natural_t ticks,
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dresourcevar.h85 u_long pr_ticks; /* temp storage for ticks until AST */
98 user_ulong_t pr_ticks; /* temp storage for ticks until AST */
130 void addupc_intr(struct proc *p, u_long pc, u_int ticks);
131 void addupc_task(struct proc *p, user_addr_t pc, u_int ticks);
H A Dsystm.h202 void timeout(void (*)(void *), void *arg, int ticks);
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOTimerEventSource.h137 @abstract Setup a callback at after the delay in scheduler ticks. See wakeAtTime(AbsoluteTime).
138 @param interval Delay from now to wake up, in scheduler ticks, whatever that may be.
140 virtual IOReturn setTimeoutTicks(UInt32 ticks);
163 @abstract Setup a callback at after the delay in decrementer ticks. See wakeAtTime(AbsoluteTime).
169 @abstract Setup a callback at after the delay in decrementer ticks. See wakeAtTime(AbsoluteTime).
170 @param interval Delay from now to wake up in decrementer ticks.
178 virtual IOReturn wakeAtTimeTicks(UInt32 ticks);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/src/
H A Dprng.c339 prngForceReseed(PRNG *p, LONGLONG ticks) argument
360 ZCHECK(ticks);
371 endTime = (int64_t)tv.tv_sec*1000000LL + (int64_t)tv.tv_usec + ticks;
403 } while ( (now-start) < ticks) ;
406 } while ( (now-start) < ticks) ;
433 prngProcessSeedBuffer(PRNG *p, BYTE *buf,LONGLONG ticks)
443 prngForceReseed(p, ticks); /* Do a reseed */
520 prngAllowReseed(PRNG *p, LONGLONG ticks)
571 return prngForceReseed(p, ticks);
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/
H A Dpe_clock_speed_asm.s55 // and the time base. Return the number of ticks for both so the
111 stw r6, 4(r3) ; save via ticks
113 sub r5, r5, r10 ; r5 is the number of time base ticks
114 stw r5, 8(r3) ; save time base ticks
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOTimerEventSource.cpp207 IOReturn IOTimerEventSource::setTimeoutTicks(UInt32 ticks) argument
209 return setTimeout(ticks, kTickScale);
253 IOReturn IOTimerEventSource::wakeAtTimeTicks(UInt32 ticks) argument
255 return wakeAtTime(ticks, kTickScale);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dbcopytest.c323 ticks = timeout - timein; /* Get time in ticks for copy */
324 tottime += ticks;
372 ticks = timeout - timein; /* Get time in ticks for copy */
373 tottime += ticks;
419 ticks = timeout - timein; /* Get time in ticks for copy */
420 tottime += ticks;
H A Dmachine_routines_asm.s968 li r3,0x10 ; Fancy nap threshold is 0x10 ticks
970 mfdec r4 ; Get the decrementer ticks
984 sub r9,r9,r8 ; Get the number of ticks spent waiting
1008 ; by more than 10 ticks, re-arm it since it is unlikely to fire at this point...
2292 sub r8,r8,r9 ; How many ticks?
2297 sub r3,r2,r9 ; How many ticks?
2305 ; Calculates the number of ticks to the supplied event and
H A Dhw_lock.s115 * Attempt will fail after timeout ticks of the timebase.
153 * Attempt will fail after timeout ticks of the timebase.
155 * reenable after a "short" timeout (128 ticks, we may want to change this).
218 cmplwi r10,128 ; Have we been spinning for 128 tb ticks?
309 * Attempt will fail after timeout ticks of the timebase.
311 * reenable after a "short" timeout (128 ticks, we may want to shorten this).
361 cmplwi r11,128 ; Have we been spinning for 128 tb ticks?
398 * Attempt will fail after timeout ticks of the timebase.
434 * Attempt will fail after timeout ticks of the timebase.
1091 cmplwi r10,128 ; Have we been spinning for 128 tb ticks
[all...]
H A Dstart.s566 mftb r13 ; Wait 5000 ticks (> 200 us)
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dnd6_nbr.c1033 int ticks)
1036 callout_reset(&dp->dad_timer_ch, ticks,
1055 int *tick_delay) /* minimum delay ticks for IFF_UP event */
1031 nd6_dad_starttimer( struct dadq *dp, int ticks) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Datp_write.c1004 atp_timout(func, trp, ticks)
1007 int ticks;
1016 trp->tr_tmo_delta = 1+(ticks>>5);
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbridge.c133 quad_t ticks;
134 DDB(ticks = rdtsc();)
136 DDB(bdg_fw_ticks += (u_long)(rdtsc() - ticks) ; bdg_fw_count++ ;)
878 DEB(bdg_fw_ticks += (u_long)(rdtsc() - ticks) ; bdg_fw_count++ ;

Completed in 102 milliseconds