/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | clock.c | 224 uint64_t now; local 230 now = mach_absolute_time(); 235 if (now > clock_calend.adjstart) { 236 t32 = now - clock_calend.adjstart; 239 now -= clock_calend.adjoffset; 241 now = clock_calend.adjstart; 245 now += clock_calend.offset; 247 absolutetime_to_microtime(now, secs, microsecs); 270 uint64_t now; local 276 now 318 uint64_t now; local 535 uint64_t now, t64; local 621 uint64_t now, t64; local 711 uint64_t now = mach_absolute_time(); local 816 uint64_t now; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | rtclock.c | 152 uint64_t now, t64; local 155 now = mach_absolute_time(); 157 *secs = t64 = now / (divisor = rtclock_sec_divisor); 158 now -= (t64 * divisor); 159 *microsecs = (now * USEC_PER_SEC) / divisor; 167 uint64_t now, t64; local 170 now = mach_absolute_time(); 172 *secs = t64 = now / (divisor = rtclock_sec_divisor); 173 now -= (t64 * divisor); 174 *nanosecs = (now * NSEC_PER_SE 185 uint64_t t64, now = abstime; local 301 uint64_t now; local [all...] |
H A D | interrupt.c | 85 uint64_t now; local 117 now = mach_absolute_time(); /* Find out what time it is */ 119 if(now >= proc_info->pms.pmsPop) { /* Is it time for power management state change? */ 121 now = mach_absolute_time(); /* Get the time again since we ran a bit */ 126 if (thread->machine.qactTimer <= now) { /* It is set, has it popped? */
|
H A D | etimer.c | 78 abstime = mach_absolute_time(); /* Get the time now */ 151 uint64_t now; local 153 now = mach_absolute_time(); 156 if (deadline < now) 157 pp->rtcPop = now + decr;
|
H A D | AltiAssist.s | 82 vslw v0,v0,v1 ; Shift the rest of the way (we now have 0x00010000)
|
H A D | hw_lock.s | 216 mftb r10 ; Time stamp us now 359 mftb r11 ; Time stamp us now 420 mftb r12 ; Time stamp us now 453 mftb r12 ; Time stamp us now 507 mtmsr r9 ; Allow interruptions now 516 mtmsr r9 ; Allow interruptions now 943 bne-- mlckespin01 ; Can not get it right now... 948 bne-- mlckespin0 ; Can not get it right now... 999 bne-- mlckspin00 ; Indirect or Can not get it right now... 1004 bne-- mlckspin01 ; Can not get it right now [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | rtclock.c | 37 * Timer, but local apic timers are now used for 121 uint64_t now) 125 if (deadline <= now) 128 delta = deadline - now; 401 uint64_t now = rtc_nanotime_read(); local 407 : "A" (now), "r" (NSEC_PER_SEC)); 419 uint64_t now = rtc_nanotime_read(); local 424 : "A" (now), "r" (NSEC_PER_SEC)); 435 uint64_t now = abstime; local 438 now 119 deadline_to_decrementer( uint64_t deadline, uint64_t now) argument 516 uint64_t now; local 604 uint64_t now; local [all...] |
H A D | etimer.c | 81 abstime = mach_absolute_time(); /* Get the time now */ 162 uint64_t now; local 164 now = mach_absolute_time(); 167 if (deadline < now) 168 lcpu->rtcPop = now + decr;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/synthfs/ |
H A D | synthfs_util.c | 73 struct timeval now; local 82 microtime(&now); 83 synthfs_update(STOV(parent_sp), &now, &now, 0); local 97 struct timeval now; local 116 microtime(&now); 117 sp->s_createtime = now; 118 sp->s_accesstime = now; 119 sp->s_modificationtime = now; 120 sp->s_changetime = now; 165 struct timeval now; local 173 synthfs_update(STOV(psp), &now, &now, 0); local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 344 struct timeval now; local 350 microtime(&now); 351 dn_times(file_node, &now, &now, &now); 545 struct timeval now; local 550 microtime(&now); 551 dn_times(dnp, &now, &now, &now); 567 struct timeval now; local 729 struct timeval now; local 821 struct timeval now; local 1365 struct timeval now; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_clock.c | 197 struct timeval now; local 201 microtime(&now); 211 sec = tv->tv_sec - now.tv_sec; 213 ticks = ((tv->tv_sec - now.tv_sec) * 1000 + 214 (tv->tv_usec - now.tv_usec) / 1000)
|
H A D | sys_pipe.c | 203 * Default pipe buffer size(s), this can be kind-of large now because pipe 294 struct timeval now; local 296 microtime(&now); 299 tpipe->st_atimespec.tv_sec = now.tv_sec; 300 tpipe->st_atimespec.tv_nsec = now.tv_usec * 1000; 304 tpipe->st_mtimespec.tv_sec = now.tv_sec; 305 tpipe->st_mtimespec.tv_nsec = now.tv_usec * 1000; 309 tpipe->st_ctimespec.tv_sec = now.tv_sec; 310 tpipe->st_ctimespec.tv_nsec = now.tv_usec * 1000; 366 * for now w 1790 struct timeval now; local [all...] |
H A D | kern_time.c | 319 struct timeval now; local 321 microuptime(&now); 322 if (timercmp(&p->p_rtime, &now, <)) 326 timevalsub(&aitv.it_value, &now);
|
H A D | kdebug.c | 267 unsigned long long now; local 272 now = mach_absolute_time() & KDBG_TIMESTAMP_MASK; 350 if (now < kdbip[cpu].kd_prev_timebase) 355 now = ++kdbip[cpu].kd_prev_timebase & KDBG_TIMESTAMP_MASK; 359 kdbip[cpu].kd_prev_timebase = now; 361 kd->timestamp = now | (((uint64_t)cpu) << KDBG_CPU_SHIFT);
|
H A D | kern_event.c | 528 uint64_t now; local 532 &now); 533 if (now >= raw + filt_timerfloor) { 537 raw -= now; 874 /* JMM - Placeholder for now */ 883 /* JMM - Placeholder for now */ 1180 * kn now contains the matching knote, or NULL if no match 1387 /* now what happens to it? */ 1525 uint64_t now; local 1527 clock_get_uptime(&now); [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/ |
H A D | strlen.s | 85 cntlzw r7,r4 ; now we can count leading 0s 100 addi r6,r9,1 ; now r6==r3 103 bgt Llentry ; address is aligned now if low bits were 3 109 beq Llentry ; addr is aligned now if low bits were 2 114 bne cr1,Llentry ; not zero, continue check (now aligned)
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/ |
H A D | MMtest.c | 20 } now; local 26 __asm__ volatile("movl %%eax,%0" : "=m" (now.word[0]) : : "eax"); 27 __asm__ volatile("movl %%edx,%0" : "=m" (now.word[1]) : : "edx"); 34 __asm__ volatile("mftbu %0" : "=r" (now.word[0])); 35 __asm__ volatile("mftb %0" : "=r" (now.word[1])); 37 } while (now.word[0] != t3); 40 now.time64 = 0ULL; 42 return now.time64;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_lock.c | 369 struct timeval now; local 386 microuptime(&now); 387 lp->lp_time = now.tv_sec; 410 microuptime(&now); 413 if (lplru->lp_valid && (lplru->lp_time >= (now.tv_sec - 2))) { 443 lplru->lp_time = now.tv_sec; 468 lp->lp_time = now.tv_sec; 568 struct timeval now; local 725 microuptime(&now); 726 lastmsg = now [all...] |
H A D | nfs_syscalls.c | 332 /* now check if there's more/other work to be done */ 519 /* now give me my vnode, it gets returned to me with a reference */ 529 * From now on we have to make sure not 843 struct timeval now; local 954 microuptime(&now); 955 cur_usec = (u_quad_t)now.tv_sec * 1000000 + 956 (u_quad_t)now.tv_usec; 1155 microuptime(&now); 1156 cur_usec = (u_quad_t)now.tv_sec * 1000000 + 1157 (u_quad_t)now 1307 struct timeval now; local 1371 struct timeval now; local 1405 struct timeval now; local [all...] |
H A D | nfs_socket.c | 399 struct timeval now; local 403 microuptime(&now); 404 lastmsg = now.tv_sec - (nmp->nm_tprintf_delay - nmp->nm_tprintf_initial_delay); 413 microuptime(&now); 414 if ((lastmsg + nmp->nm_tprintf_delay) < now.tv_sec) { 415 lastmsg = now.tv_sec; 529 struct timeval now; local 541 microuptime(&now); 542 nmp->nm_reconnect_start = now.tv_sec; 556 microuptime(&now); 1595 struct timeval now; local 1845 struct timeval now; local 2192 struct timeval now; local [all...] |
H A D | nfs_gss.c | 348 struct timeval now; local 357 microuptime(&now); 358 cp->gss_clnt_ctime = now.tv_sec; // time stamp 385 struct timeval now; local 413 microuptime(&now); 414 if (now.tv_sec > cp->gss_clnt_ctime + GSS_CLNT_SYS_VALID) { 928 struct timeval now; local 989 microuptime(&now); 990 cp->gss_clnt_ctime = now.tv_sec; // time stamp 1564 struct timeval now; local [all...] |
H A D | nfs_subs.c | 1221 struct timeval now; local 1278 printf("nfs loadattrcache vnode changed type, was %d now %d\n", 1284 microuptime(&now); 1285 np->n_attrstamp = now.tv_sec; 1340 struct timeval now; local 1353 microtime(&now); 1354 timeo = (now.tv_sec - (np)->n_mtime.tv_sec) / 10; 1867 struct timespec now; local 1927 nanotime(&now); 1937 VATTR_SET(vap, va_access_time, now); 2915 struct timeval now; local 3065 struct timeval now; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/YarrowCoreLib/src/ |
H A D | prng.c | 336 /* Cause the PRNG to reseed now regardless of entropy pool */ 354 LONGLONG now; local 402 now = UnsignedWideToUInt64(uwide); 403 } while ( (now-start) < ticks) ; 406 } while ( (now-start) < ticks) ;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 349 uint64_t now; local 357 now = mach_absolute_time(); 358 wrapTC->deadline = now; 360 clock_deadline_for_periodic_event( wrapTC->when.cyt_interval, now, &(wrapTC->deadline) ); 505 uint64_t now; local 520 now = mach_absolute_time(); 521 wrapTC->deadline = now; 523 clock_deadline_for_periodic_event( wrapTC->when.cyt_interval, now, &(wrapTC->deadline) ); 720 /* XXX called from dtrace_detach, so NOTREACHED for now. */ 844 p += sizeof(void*); /* now w [all...] |
/macosx-10.5.8/AppleMacRiscPCI-3.4/ |
H A D | AppleDART.cpp | 478 AbsoluteTime now, expirationTime; local 488 clock_get_uptime(&now); 489 } while (CMP_ABSOLUTETIME(&now, &expirationTime) < 0);
|