Searched refs:NANOSEC (Results 76 - 100 of 216) sorted by relevance

123456789

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dselect.c87 if (tsp->tv_nsec < 0 || tsp->tv_nsec >= NANOSEC ||
H A Dselect_large_fdset.c104 if (tsp->tv_nsec < 0 || tsp->tv_nsec >= NANOSEC ||
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_main.c73 (((int)seconds > 0) ? (base + (hrtime_t)seconds * (hrtime_t)NANOSEC) \
423 else if (diff < NANOSEC)
426 debug("%s: %.2f seconds\n", msg, (float)diff / NANOSEC);
1655 now) / (float)NANOSEC);
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_page.c288 (u_longlong_t)(cma.cma_page_curdelay / NANOSEC));
H A Dcma_main.c647 cma.cma_cpu_delay.tv_sec = nsec / NANOSEC;
648 cma.cma_cpu_delay.tv_nsec = nsec % NANOSEC;
/illumos-gate/usr/src/cmd/sa/
H A Dtimex.c80 nsec_per_tick = NANOSEC / hz;
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_poll_ntv.c45 hrtime_t gcpu_mca_poll_interval = NANOSEC * 10ULL; /* tuneable */
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c309 (u_longlong_t)(cma.cma_cpu_curdelay / NANOSEC));
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_zfetch.c165 if (((gethrtime() - zs->zs_atime) / NANOSEC) >
/illumos-gate/usr/src/cmd/powertop/common/
H A Dpowertop.c297 /NANOSEC;
H A Dcpufreq.c349 duration = (hrtime_t)(interval * NANOSEC) - cpu_pow->dtrace_time;
/illumos-gate/usr/src/lib/libzpool/common/
H A Dutil.c98 sec = MAX(1, vs->vs_timestamp / NANOSEC);
/illumos-gate/usr/src/uts/common/os/
H A Ddtrace_subr.c165 now = ((hrtime_t)snap.dthr_hrestime.tv_sec * (hrtime_t)NANOSEC) +
H A Dclock.c327 #define TOD_REF_FREQ ((longlong_t)(NANOSEC))
440 timedelta -= ltemp * (NANOSEC/MICROSEC);
446 timedelta += ltemp * (NANOSEC/MICROSEC);
819 timedelta = (int64_t)drift*NANOSEC;
1072 avg = hr_avg / (NANOSEC / LGRP_LOADAVG_IN_THREAD_MAX);
2023 when->cyt_when = cpu->cpu_id * (NANOSEC / NCPU);
2024 when->cyt_interval = NANOSEC;
/illumos-gate/usr/src/lib/libc/port/aio/
H A Daio.c537 (hrtime_t)uwait->tv_sec * NANOSEC +
538 (hrtime_t)uwait->tv_usec * (NANOSEC / MICROSEC);
632 hres += (NANOSEC / MICROSEC) - 1;
633 wait->tv_sec = hres / NANOSEC;
635 (hres % NANOSEC) / (NANOSEC / MICROSEC);
671 wait->tv_nsec = NANOSEC -
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dresult.c341 tv_time = ((hrtime_t)tv.tv_sec * NANOSEC +
342 (hrtime_t)tv.tv_usec * (NANOSEC / MICROSEC));
476 tv.tv_sec = tv_time / NANOSEC;
477 tv.tv_usec = (tv_time % NANOSEC) / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/cmd/dtrace/
H A Ddtrace.c1131 if (nval <= NANOSEC && (NANOSEC % nval) == 0) {
1133 (long long)NANOSEC / (long long)nval);
1137 if ((nval % NANOSEC) == 0) {
1140 (long long)nval / (long long)NANOSEC);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c730 tenths = delta / (NANOSEC / 10);
735 ((hrtime_t)amount * 8 * NANOSEC) / delta);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c359 rtt = (end - start) / (NANOSEC / MICROSEC);
827 rtt = (end - start) / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcyclic.c370 (uint64_t)(NANOSEC / MICROSEC));
701 cyc.cy_interval / (uint64_t)(NANOSEC / MICROSEC),
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvd.c1275 ct = (time_t)(gethrtime() / NANOSEC);
1297 ct = (time_t)(gethrtime() / NANOSEC);
1667 ct = (time_t)(gethrtime() / NANOSEC);
1684 ct = (time_t)(gethrtime() / NANOSEC);
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Dreport.c162 etime = hr_etime / (double)NANOSEC;
/illumos-gate/usr/src/uts/sun4v/os/
H A Dsuspend.c317 (suspend_tick_stick_max_delta * 2 * (NANOSEC/MICROSEC));
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s563 sub hrestnsec, nano, hrestnsec; /* hrest.tv_nsec -= NANOSEC; */ \
740 set NANOSEC, %l5 ! %l5 = NANOSEC
742 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC
745 sub %i3, %l5, %i3 ! hrestime.tv_nsec - NANOSEC
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s409 sub hrestnsec, nano, hrestnsec; /* hrest.tv_nsec -= NANOSEC; */ \
586 set NANOSEC, %l5 ! %l5 = NANOSEC
588 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC
591 sub %i3, %l5, %i3 ! hrestime.tv_nsec - NANOSEC

Completed in 119 milliseconds

123456789