/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/ |
H A D | tst.sigwait.c | 59 ts.it_interval.tv_nsec = NANOSEC / 2; in main()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_work.c | 83 tv.tv_sec = (earliest - now) / NANOSEC; in dtrace_sleep() 84 tv.tv_nsec = (earliest - now) % NANOSEC; in dtrace_sleep()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lwp_cond.c | 55 (relts->tv_sec < 0 || (ulong_t)relts->tv_nsec >= NANOSEC)) in _lwp_cond_reltimedwait()
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 308 tsp->tv_sec = hrt / NANOSEC; in hrt2ts() 309 tsp->tv_nsec = hrt % NANOSEC; in hrt2ts()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | tscc_hpet.c | 95 *freqp = tsc_avg * NANOSEC / hpet_ns; in tsc_calibrate_hpet()
|
H A D | machdep.c | 764 while ((unsigned long)now.tv_nsec >= NANOSEC) { in pc_gethrestime() 782 now.tv_nsec -= NANOSEC; in pc_gethrestime() 1061 while ((end - start) < (10 * (NANOSEC / MICROSEC))) { in tenmicrosec()
|
/illumos-gate/usr/src/test/os-tests/tests/ksensor/ |
H A D | ksensor_sread.c | 91 ts.tv_nsec = (ms % 1000) * (NANOSEC / MILLISEC); in main()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 245 sethi %hi(NANOSEC), nano; \ 249 or nano, %lo(NANOSEC), nano;
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 1555 ((hrtime_t)Cp->basetime.tv_sec * NANOSEC + in setup_basetime() 1559 basedate->tv_sec -= (time_t)(delta / NANOSEC); in setup_basetime() 1792 if (Cp->usrtotal.tv_nsec >= NANOSEC) { in file_to_parent() 1793 Cp->usrtotal.tv_nsec -= NANOSEC; in file_to_parent() 1822 if (scp->stime.tv_nsec >= NANOSEC) { in file_to_parent() 1823 scp->stime.tv_nsec -= NANOSEC; in file_to_parent() 1912 fraction += NANOSEC; in timestamp() 1945 fraction += NANOSEC; in timestamp() 2049 if (ap->tv_nsec >= NANOSEC) { in accumulate() 2050 ap->tv_nsec -= NANOSEC; in accumulate() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs.h | 177 #define SEC2HR(sec) ((sec) * (hrtime_t)NANOSEC)
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 74 if ((now = gethrtime()) - last > NANOSEC) { in badioctl()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/ |
H A D | c_ustime.c | 76 tv.tv_usec = now.tv_nsec / (NANOSEC / MICROSEC); in get_time_now()
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_space.c | 74 hrtime_t px_intrpend_timeout = 5ull * NANOSEC; /* 5 seconds in nanoseconds */
|
/illumos-gate/usr/src/cmd/stat/vmstat/ |
H A D | vmstat.c | 170 period_n = (hrtime_t)interval * NANOSEC; in main() 236 hr_etime = NANOSEC; in show_disk() 239 adjprintf(" %*.0f", 2, (reads + writes) / hr_etime * NANOSEC); in show_disk()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock.c | 331 #define TOD_REF_FREQ ((longlong_t)(NANOSEC)) 443 timedelta -= ltemp * (NANOSEC/MICROSEC); in clock() 449 timedelta += ltemp * (NANOSEC/MICROSEC); in clock() 823 timedelta = (int64_t)drift*NANOSEC; in clock() 1076 avg = hr_avg / (NANOSEC / LGRP_LOADAVG_IN_THREAD_MAX); in genloadavg() 2022 when->cyt_when = cpu->cpu_id * (NANOSEC / NCPU); in deadman_online() 2023 when->cyt_interval = NANOSEC; in deadman_online()
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 823 ts.it_value.tv_sec = val / NANOSEC; in status_init() 824 ts.it_value.tv_nsec = val % NANOSEC; in status_init() 1636 ((unsigned long long)total_count * NANOSEC) / g_elapsed, in report_stats() 1650 (double)g_elapsed / NANOSEC, in report_stats() 1651 (double)total_count * NANOSEC / g_elapsed); in report_stats() 1726 ((uint64_t)lsp->ls_count * NANOSEC) / g_elapsed); in report_stats() 1784 (uint_t)(((uint64_t)lsp->ls_hist[j] * NANOSEC) / in report_stats()
|
/illumos-gate/usr/src/cmd/sleep/ |
H A D | sleep.c | 144 frac *= NANOSEC; in main()
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.h | 53 (hrtime_t)(((hrtime_t)__t.tv_sec * (hrtime_t)NANOSEC) + (hrtime_t)__t.tv_nsec)
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_update_thread.c | 66 (hrtime_t)umem_reap_interval * NANOSEC; in umem_update_thread()
|
/illumos-gate/usr/src/uts/common/io/iprb/ |
H A D | iprb.h | 30 #define RX_WATCHDOG (15 * NANOSEC) 31 #define TX_WATCHDOG (15 * NANOSEC)
|
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/ |
H A D | vatpit_freq.c | 58 hrtime_t time_target = (tick_delta * NANOSEC) / ATPIT_FREQ; in check_reading()
|
H A D | vpmtmr_freq.c | 63 hrtime_t time_target = (tick_delta * NANOSEC) / PMTMR_FREQ; in check_reading()
|
H A D | vhpet_freq.c | 63 hrtime_t time_target = (tick_delta * NANOSEC) / HPET_FREQ; in check_reading()
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | rtpriocntl.c | 393 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1) in set_rtprocs() 504 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1) in exec_rtcmd()
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | subr.c | 115 new_res > NANOSEC || htp->hrt_rem < 0) in _hrtnewres()
|