Searched refs:tsc_base (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dcommpage.h97 extern void commpage_set_nanotime(uint64_t tsc_base, uint64_t ns_base, uint32_t scale, uint32_t shift);
H A Dcommpage.c471 uint64_t tsc_base,
498 p32->nt_tsc_base = tsc_base;
499 p64->nt_tsc_base = tsc_base;
470 commpage_set_nanotime( uint64_t tsc_base, uint64_t ns_base, uint32_t scale, uint32_t shift ) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Drtclock.c171 * - { tsc_base, ns_base } pair of corresponding timestamps.
173 * The tuple {tsc_base, ns_base, scale, shift} is exported in the commpage
182 commpage_set_nanotime(rntp->tsc_base, rntp->ns_base, rntp->scale, rntp->shift);
250 rtc_clock_napped(uint64_t base, uint64_t tsc_base) argument
259 oldnsecs = rntp->ns_base + _tsc_to_nanoseconds(tsc - rntp->tsc_base);
260 newnsecs = base + _tsc_to_nanoseconds(tsc - tsc_base);
267 _rtc_nanotime_store(tsc_base, base, rntp->scale, rntp->shift, rntp);
H A Drtclock.h45 uint64_t tsc_base; /* timestamp */ member in struct:rtc_nanotime
90 sbbl RNT_TSC_BASE+4(%edi),%edx /* tsc - tsc_base */ ; \
120 subq RNT_TSC_BASE(%rdi),%rax /* tsc - tsc_base */ ; \
H A Dgenassym.c512 offsetof(rtc_nanotime_t *, tsc_base));

Completed in 277 milliseconds