Searched refs:MICROSEC (Results 1 - 25 of 111) sorted by relevance

12345

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsettimeofday.c53 if (tp->tv_sec < 0 || tp->tv_usec < 0 || tp->tv_usec >= MICROSEC) {
59 if (tp->tv_usec >= (MICROSEC/2))
H A Dpoll.c51 ts.tv_nsec = (timeout % MILLISEC) * MICROSEC;
/illumos-gate/usr/src/uts/sun4u/sys/
H A Denvctrl_ue250.h43 #define ENVCTRL_UE250_OVERTEMP_TIMEOUT_USEC 60 * MICROSEC
44 #define ENVCTRL_UE250_BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
H A Denvctrl_ue450.h43 #define OVERTEMP_TIMEOUT_USEC 60 * MICROSEC
44 #define BLINK_TIMEOUT_USEC 500 * (MICROSEC / MILLISEC)
/illumos-gate/usr/src/uts/sun4u/sunfire/sys/
H A Dsysctrl.h305 #define SPUR_TIMEOUT_USEC (1 * MICROSEC)
306 #define SPUR_LONG_TIMEOUT_USEC (5 * MICROSEC)
307 #define AC_TIMEOUT_USEC (1 * MICROSEC)
308 #define PS_FAIL_TIMEOUT_USEC (500 * (MICROSEC / MILLISEC))
309 #define PPS_FAN_TIMEOUT_USEC (1 * MICROSEC)
311 #define BRD_INSERT_DELAY_USEC (500 * (MICROSEC / MILLISEC))
312 #define BRD_INSERT_RETRY_USEC (5 * MICROSEC)
313 #define BRD_REMOVE_TIMEOUT_USEC (2 * MICROSEC)
314 #define BLINK_LED_TIMEOUT_USEC (300 * (MICROSEC / MILLISEC))
315 #define KEYSWITCH_TIMEOUT_USEC (1 * MICROSEC)
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c85 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC);
94 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC);
/illumos-gate/usr/src/uts/common/syscall/
H A Dadjtime.c68 if (atv.tv_usec <= -MICROSEC || atv.tv_usec >= MICROSEC)
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_kdi_isadep.c260 kdi_max_cpu_freq = 500 * MICROSEC;
264 MAX((kdi_max_cpu_freq + (MICROSEC - 1)) / MICROSEC, 1);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dhardclk.c127 sticks_per_usec = MAX((sys_tick_freq + (MICROSEC - 1)) / MICROSEC, 1);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dhardclk.c147 sticks_per_usec = MAX((sys_tick_freq + (MICROSEC - 1)) / MICROSEC, 1);
/illumos-gate/usr/src/uts/i86xpv/cpu/generic_cpu/
H A Dgcpu_poll_xpv.c126 drv_usectohz(gcpu_xpv_mch_poll_interval_secs * MICROSEC));
187 MICROSEC));
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtime.c49 usec = (newtime->tv_usec + MICROSEC) - oldtime->tv_usec;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dc_ustime.c76 tv.tv_usec = now.tv_nsec / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvldc_impl.h71 #define VLDC_CLOSE_DELAY MICROSEC /* 1sec */
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c158 { "us", NANOSEC / MICROSEC },
159 { "usec", NANOSEC / MICROSEC },
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c105 tval.tv_sec = random / MICROSEC;
106 tval.tv_usec = random % MICROSEC;
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c421 MICROSEC)/g_cstate_info[i].events);
443 g_ncpus_observed/MICROSEC);
453 g_ncpus_observed/MICROSEC/total_pstates));
504 g_ncpus_observed/MICROSEC/total_pstates));
509 g_ncpus_observed/MICROSEC/total_pstates));
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c135 if (usec >= MICROSEC) {
136 usec -= MICROSEC;
355 min = MAX((int)(cyclic_getres() / (NANOSEC / MICROSEC)),
743 tv->tv_usec < 0 || tv->tv_usec >= MICROSEC)
783 itp->it_value.tv_usec += MICROSEC;
796 itp->it_value.tv_usec += MICROSEC;
832 t1->tv_usec += MICROSEC;
834 if (t1->tv_usec >= MICROSEC) {
836 t1->tv_usec -= MICROSEC;
1243 (hrtime_t)tvp->tv_usec * (NANOSEC / MICROSEC));
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/
H A Dilb_probe.c359 rtt = (end - start) / (NANOSEC / MICROSEC);
683 tm = (param->timeout * MICROSEC >> 2) * 3;
684 if (tm > MICROSEC) {
685 timeout.it_value.tv_sec = tm / MICROSEC;
687 MICROSEC);
827 rtt = (end - start) / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_time.c103 ftv->ftv_nsec = todbase.tv_usec * (NANOSEC / MICROSEC);
234 (hrtime_t)tv.tv_usec * (NANOSEC / MICROSEC);
270 tvp->tv_usec = (rem % NANOSEC) / (NANOSEC / MICROSEC);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dsuspend.c306 (CPU->cpu_curr_clock * suspend_tick_stick_max_delta * 2 / MICROSEC);
308 (sys_tick_freq * suspend_tick_stick_max_delta * 2 / MICROSEC);
317 (suspend_tick_stick_max_delta * 2 * (NANOSEC/MICROSEC));
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h244 #define MICROSEC 1000000 macro
250 #define USEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MICROSEC))
251 #define NSEC2USEC(n) ((n) / (NANOSEC / MICROSEC))
/illumos-gate/usr/src/uts/common/conf/
H A Dparam.c140 * (1) hz should be in the range 100 <= hz <= MICROSEC. If hz exceeds
141 * MICROSEC, usec_per_tick will be zero and lots of stuff will break.
148 * divisor of MICROSEC.
192 #define SNOOP_INTERVAL_MIN (MICROSEC)
193 #define SNOOP_INTERVAL_DEFAULT (50 * MICROSEC)
676 usec_per_tick = MICROSEC / hz;
689 time_res[TR_MICROSEC] = NANOSEC / MICROSEC;
/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/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dsun4vpi.c209 ((gethrtime() - starttime)/MICROSEC));

Completed in 186 milliseconds

12345