/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
H A D | ilb_probe.c | 359 rtt = (end - start) / (NANOSEC / MICROSEC); in tcp_query() 683 tm = (param->timeout * MICROSEC >> 2) * 3; in udp_query() 684 if (tm > MICROSEC) { in udp_query() 685 timeout.it_value.tv_sec = tm / MICROSEC; in udp_query() 687 MICROSEC); in udp_query() 827 rtt = (end - start) / (NANOSEC / MICROSEC); in ping_query()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 1777 waittime = 2 * tmax / MICROSEC; in schedule_sigalrm()
|
H A D | ping_aux.c | 481 triptime = (int64_t)tv.tv_sec * MICROSEC + tv.tv_usec; in check_reply() 681 triptime = (int64_t)tv.tv_sec * MICROSEC + tv.tv_usec; in check_reply() 999 (tv.tv_usec / (MICROSEC/MILLISEC)); in check_reply() 1005 triptime *= (MICROSEC/MILLISEC); in check_reply()
|
H A D | ping_aux6.c | 520 triptime = (int64_t)tv.tv_sec * MICROSEC + tv.tv_usec; in check_reply6() 822 triptime = (int64_t)tv.tv_sec * MICROSEC + tv.tv_usec; in check_reply6()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_conf.c | 423 { "us", NANOSEC / MICROSEC }, in set_time() 424 { "usec", NANOSEC / MICROSEC }, in set_time()
|
H A D | fmd_time.c | 103 ftv->ftv_nsec = todbase.tv_usec * (NANOSEC / MICROSEC); in fmd_time_sync() 234 (hrtime_t)tv.tv_usec * (NANOSEC / MICROSEC); in fmd_simulator_init() 270 tvp->tv_usec = (rem % NANOSEC) / (NANOSEC / MICROSEC); in fmd_simulator_tod()
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fmdump.c | 245 { "us", NANOSEC / MICROSEC }, in gettimeopt() 246 { "usec", NANOSEC / MICROSEC }, in gettimeopt() 318 tvp->tv_usec = (nsec % NANOSEC) / (NANOSEC / MICROSEC); in gettimeopt() 369 (suseconds_t)(strtod(arg, &p) * (double)MICROSEC); in gettimeopt()
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_string.c | 156 { "us", NANOSEC / MICROSEC }, in inj_strtime() 157 { "usec", NANOSEC / MICROSEC }, in inj_strtime()
|
/illumos-gate/usr/src/cmd/fm/fmstat/common/ |
H A D | fmstat.c | 178 { "us", NANOSEC / MICROSEC }, in time2str()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 113 tval.tv_sec = random / MICROSEC; in wait_random_time() 114 tval.tv_usec = random % MICROSEC; in wait_random_time()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_termio.c | 852 td->tio_usecpc = MICROSEC / td->tio_baud; in termio_resume_tty()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 684 cyc.cy_interval / (uint64_t)(NANOSEC / MICROSEC), in cyclic()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv_pcap.c | 341 phdr.ts_usec = (rqtime / 1000) % MICROSEC; in smbsrv_pcap_dump()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/ |
H A D | configd.c | 255 dursec, durnsec / (NANOSEC / MICROSEC)); in request_log() 279 dursec, durnsec / (NANOSEC / MICROSEC)); in request_log()
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | cpufreq.c | 47 #define HZ2MHZ(speed) ((speed) / MICROSEC)
|
H A D | display.c | 421 MICROSEC)/g_cstate_info[i].events); in pt_display_states() 443 g_ncpus_observed/MICROSEC); in pt_display_states() 453 g_ncpus_observed/MICROSEC/total_pstates)); in pt_display_states() 504 g_ncpus_observed/MICROSEC/total_pstates)); in pt_display_states() 509 g_ncpus_observed/MICROSEC/total_pstates)); in pt_display_states()
|
H A D | powertop.c | 400 g_cstate_info[g_longest_cstate].total_time/MICROSEC in main()
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_main.c | 421 else if (diff < MICROSEC) in tm_fmt() 424 debug("%s: %.2f milliseconds\n", msg, (float)diff / MICROSEC); in tm_fmt()
|
/illumos-gate/usr/src/cmd/rcap/rcapstat/ |
H A D | rcapstat.c | 432 (void) usleep((useconds_t)(0.2 * MICROSEC)); in main()
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | time.c | 49 usec = (newtime->tv_usec + MICROSEC) - oldtime->tv_usec; in conv_time()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 1563 basedate->tv_usec += MICROSEC; in setup_basetime()
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 185 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC; in s10_poll()
|
/illumos-gate/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_filter.c | 87 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); in fmd_log_filter_before() 96 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); in fmd_log_filter_after()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi.c | 164 ((gethrtime() - starttime)/MICROSEC)); in x86pi_enum()
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 527 uwait->tv_usec >= MICROSEC) { in aiowait() 535 (hrtime_t)uwait->tv_usec * (NANOSEC / MICROSEC); in aiowait() 629 hres += (NANOSEC / MICROSEC) - 1; in aiowait() 632 (hres % NANOSEC) / (NANOSEC / MICROSEC); in aiowait() 1274 (void) usleep(ticks * (MICROSEC / hz)); in _aio_delay()
|