Searched refs:NANOSEC (Results 51 - 75 of 216) sorted by relevance

123456789

/illumos-gate/usr/src/uts/i86pc/os/
H A Dtimestamp.c163 static hrtime_t tsc_resume_cap_ns = NANOSEC; /* 1s */
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)) / NANOSEC);
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c372 timo->tv_nsec >= NANOSEC) {
479 hrtend = hrtstart + (hrtime_t)timo->tv_sec * (hrtime_t)NANOSEC +
484 twait.tv_sec = hrtres / (hrtime_t)NANOSEC;
485 twait.tv_nsec = hrtres % (hrtime_t)NANOSEC;
553 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
554 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC;
592 wait->tv_sec = hrtres / (hrtime_t)NANOSEC;
593 wait->tv_nsec = hrtres % (hrtime_t)NANOSEC;
1257 utimo->tv_nsec >= NANOSEC) {
1265 if (end->tv_nsec >= NANOSEC) {
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_work.c85 tv.tv_sec = (earliest - now) / NANOSEC;
86 tv.tv_nsec = (earliest - now) % NANOSEC;
/illumos-gate/usr/src/cmd/rcap/common/
H A Dutils.c241 tsp->tv_sec = hrt / NANOSEC;
242 tsp->tv_nsec = hrt % NANOSEC;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h219 * sets 'nano' to the value NANOSEC (one billion).
245 sethi %hi(NANOSEC), nano; \
249 or nano, %lo(NANOSEC), nano;
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c332 10 * (NANOSEC / MICROSEC);
334 waittime = (hrtime_t)count * (NANOSEC / MICROSEC);
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c308 tsp->tv_sec = hrt / NANOSEC;
309 tsp->tv_nsec = hrt % NANOSEC;
/illumos-gate/usr/src/cmd/power/
H A Dsysstat.c180 return ((*hr_now - last_load_ave_change) / NANOSEC);
413 return ((*hr_now - last_load_ave_change) / NANOSEC);
674 while ((int)((hr_now - node->snaptime) / NANOSEC) > idle_time &&
709 return ((*time - node->snaptime) / NANOSEC);
715 return ((*time - node->snaptime) / NANOSEC);
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_miscdefs.h83 #define NANOSEC 1000000000 macro
/illumos-gate/usr/src/uts/common/syscall/
H A Dntptime.c82 ntv.time.tv_usec = tod.tv_nsec / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/uts/sun4/os/
H A Dcpu_states.c88 #define FORCE_ABORT_SEQ_INTERVAL ((hrtime_t)15 * NANOSEC)
/illumos-gate/usr/src/uts/sun4u/io/
H A Diocache.c151 #define SCACHE_NSEC_WAIT (10ull * NANOSEC)
/illumos-gate/usr/src/cmd/priocntl/
H A Drtpriocntl.c395 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1)
506 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1)
H A Dfxpriocntl.c399 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1)
526 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1)
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_dperr.c301 (hrtime_t)NANOSEC *
327 ep, (hrtime_t)NANOSEC * (dpt->dp_t_value + 120));
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c141 return (gethrtime() / NANOSEC);
167 return (hrtime / NANOSEC);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky.c153 hrtime_t sec = ts / (hrtime_t)NANOSEC;
154 hrtime_t nsec = ts % (hrtime_t)NANOSEC;
157 hrtime_t vsec = vts / (hrtime_t)NANOSEC;
158 hrtime_t vnsec = vts % (hrtime_t)NANOSEC;
168 30, "elapsed CPU time", vsec, (vnsec * 10)/(hrtime_t)NANOSEC);
170 30, "elapsed wall time", sec, (nsec * 10)/(hrtime_t)NANOSEC);
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c824 ts.it_value.tv_sec = val / NANOSEC;
825 ts.it_value.tv_nsec = val % NANOSEC;
1637 ((unsigned long long)total_count * NANOSEC) / g_elapsed,
1651 (double)g_elapsed / NANOSEC,
1652 (double)total_count * NANOSEC / g_elapsed);
1727 ((uint64_t)lsp->ls_count * NANOSEC) / g_elapsed);
1785 (uint_t)(((uint64_t)lsp->ls_hist[j] * NANOSEC) /
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c162 pause_tv.tv_sec = pause_left / NANOSEC;
163 pause_tv.tv_nsec = pause_left % NANOSEC;
208 period_n = (hrtime_t)ti * NANOSEC;
/illumos-gate/usr/src/cmd/stat/vmstat/
H A Dvmstat.c166 period_n = (hrtime_t)interval * NANOSEC;
235 hr_etime = NANOSEC;
238 adjprintf(" %*.0f", 2, (reads + writes) / hr_etime * NANOSEC);
/illumos-gate/usr/src/cmd/truss/
H A Dmain.c1550 ((hrtime_t)Cp->basetime.tv_sec * NANOSEC +
1554 basedate->tv_sec -= (time_t)(delta / NANOSEC);
1555 basedate->tv_usec -= (delta % NANOSEC) / 1000;
1787 if (Cp->usrtotal.tv_nsec >= NANOSEC) {
1788 Cp->usrtotal.tv_nsec -= NANOSEC;
1817 if (scp->stime.tv_nsec >= NANOSEC) {
1818 scp->stime.tv_nsec -= NANOSEC;
1907 fraction += NANOSEC;
1940 fraction += NANOSEC;
2044 if (ap->tv_nsec >= NANOSEC) {
[all...]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs_clnt.h587 #define SEC2HR(sec) ((sec) * (long long)NANOSEC)
588 #define HR2SEC(hr) ((hr) / (long long)NANOSEC)
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.h30 #define RX_WATCHDOG (15 * NANOSEC)
31 #define TX_WATCHDOG (15 * NANOSEC)
/illumos-gate/usr/src/lib/libscf/common/
H A Dscf_type.c389 if (ns >= NANOSEC)
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c265 if ((ts.tv_nsec *= 10) >= NANOSEC) {

Completed in 3014 milliseconds

123456789