Searched refs:NSEC_SHIFT (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 80 #define NSEC_SHIFT 8 macro 87 #define NSEC_SHIFT 4 macro 130 NATIVE_TIME_TO_NSEC_SCALE(nslt, nano, gnt1, NSEC_SHIFT); \ 152 NATIVE_TIME_TO_NSEC_SCALE(nslt, scale, gnt1, NSEC_SHIFT); \
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | clock.h | 178 * NATIVE_TIME_TO_NSEC_SCALE is called with NSEC_SHIFT to convert hi-res 220 * Note that we require that tick is less than (1 << (64 - NSEC_SHIFT)); 222 * is a serious problem; (1 << (64 - NSEC_SHIFT)) nanoseconds is over 264 NATIVE_TIME_TO_NSEC_SCALE(out, scr1, scr2, NSEC_SHIFT); 268 srlx out, NSEC_SHIFT, out 271 * NSEC_SHIFT and VTRACE_SHIFT constants are defined in
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | timestamp.c | 65 * here. This implementation differs only in its value for NSEC_SHIFT: 66 * we implement an NSEC_SHIFT of 5 (instead of sun4u's 4) to allow for 100 #define NSEC_SHIFT 5 macro 131 (hrt) += mul32(_l[1], scale) << NSEC_SHIFT; \ 132 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \ 137 (hrt) = mul32(_l[1], scale) << NSEC_SHIFT; \ 138 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \ 673 ASSERT(cpu_freq_hz > NANOSEC / (1 << NSEC_SHIFT)); 675 (uint_t)(((uint64_t)NANOSEC << (32 - NSEC_SHIFT)) / cpu_freq_hz); 677 (uint_t)(((uint64_t)cpu_freq_hz << (32 - NSEC_SHIFT)) / NANOSE [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 205 #define NSEC_SHIFT 4 macro 244 NATIVE_TIME_TO_NSEC_SCALE(nslt, nano, gnt1, NSEC_SHIFT); \ 267 NATIVE_TIME_TO_NSEC_SCALE(nslt, scale, gnt1, NSEC_SHIFT); \
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 72 #define NSEC_SHIFT 5 macro 634 hrt = (mul32(l[1], nsec_scale) << NSEC_SHIFT) + 635 (mul32(l[0], nsec_scale) >> (32 - NSEC_SHIFT)); 644 CPU->cpu_m.mcpu_vcpu_info->time.tsc_to_system_mul >> NSEC_SHIFT;
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 754 * NSEC_SHIFT is replicated here (it is not defined in a header file), 761 #define NSEC_SHIFT 5 macro 814 hrt = ((uint64_t)tscp[1] * scale) << NSEC_SHIFT; 815 hrt += ((uint64_t)tscp[0] * scale) >> (32 - NSEC_SHIFT);
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 695 NATIVE_TIME_TO_NSEC_SCALE(%l0, %l5, %l2, NSEC_SHIFT) 935 .word NSEC_SHIFT
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 541 NATIVE_TIME_TO_NSEC_SCALE(%l0, %l5, %l2, NSEC_SHIFT) 781 .word NSEC_SHIFT
|
Completed in 56 milliseconds