Searched defs:hrtime (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_grammar.y80 %type <l_hrtime> hrtime
301 | INJ_TOK_ADDHRT hrtime { $$ = inj_cmd_addhrt($2); }
350 hrtime: INJ_TOK_IMM INJ_TOK_IDENT { label
/illumos-gate/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c153 hrtimer_t hrtime; local
169 hrtime.hrt_secs = 0;
170 hrtime.hrt_rem = fssadmin.fss_quantum;
171 hrtime.hrt_res = HZ;
172 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1)
174 if ((fss_quantum = hrtconvert(&hrtime)) == -1)
200 hrtimer_t hrtime; local
259 hrtime.hrt_secs = 0;
260 hrtime.hrt_rem = fss_quantum;
261 hrtime
[all...]
H A Dfxdispadmin.c161 hrtimer_t hrtime; local
194 hrtime.hrt_secs = 0;
195 hrtime.hrt_rem = fx_dptbl[i].fx_quantum;
196 hrtime.hrt_res = HZ;
197 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1)
200 if ((fx_dptbl[i].fx_quantum = hrtconvert(&hrtime))
229 hrtimer_t hrtime; local
321 hrtime.hrt_secs = 0;
322 hrtime.hrt_rem = fx_dptbl[i].fx_quantum;
323 hrtime
[all...]
H A Diadispadmin.c158 hrtimer_t hrtime; local
194 hrtime.hrt_secs = 0;
195 hrtime.hrt_rem = ia_dptbl[i].ia_quantum;
196 hrtime.hrt_res = HZ;
197 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1)
200 if ((ia_dptbl[i].ia_quantum = hrtconvert(&hrtime))
233 hrtimer_t hrtime; local
349 hrtime.hrt_secs = 0;
350 hrtime.hrt_rem = atol(tokp);
351 hrtime
[all...]
H A Drtdispadmin.c158 hrtimer_t hrtime; local
191 hrtime.hrt_secs = 0;
192 hrtime.hrt_rem = rt_dptbl[i].rt_quantum;
193 hrtime.hrt_res = HZ;
194 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1)
198 hrtconvert(&hrtime)) == -1)
227 hrtimer_t hrtime; local
349 hrtime.hrt_secs = 0;
350 hrtime.hrt_rem = rt_dptbl[i].rt_quantum;
351 hrtime
[all...]
H A Dtsdispadmin.c158 hrtimer_t hrtime; local
191 hrtime.hrt_secs = 0;
192 hrtime.hrt_rem = ts_dptbl[i].ts_quantum;
193 hrtime.hrt_res = HZ;
194 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1)
197 if ((ts_dptbl[i].ts_quantum = hrtconvert(&hrtime))
229 hrtimer_t hrtime; local
345 hrtime.hrt_secs = 0;
346 hrtime.hrt_rem = atol(tokp);
347 hrtime
[all...]
/illumos-gate/usr/src/cmd/priocntl/
H A Dfxpriocntl.c364 hrtimer_t hrtime; local
396 hrtime.hrt_secs = 0;
397 hrtime.hrt_rem = tqntm;
398 hrtime.hrt_res = res;
399 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1)
401 ADDKEYVAL(argsp, FX_KY_TQSECS, hrtime.hrt_secs);
402 ADDKEYVAL(argsp, FX_KY_TQNSECS, hrtime.hrt_rem);
497 hrtimer_t hrtime; local
523 hrtime.hrt_secs = 0;
524 hrtime
[all...]
H A Drtpriocntl.c365 hrtimer_t hrtime; local
392 hrtime.hrt_secs = 0;
393 hrtime.hrt_rem = tqntm;
394 hrtime.hrt_res = res;
395 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1)
397 ADDKEYVAL(argsp, RT_KY_TQSECS, hrtime.hrt_secs);
398 ADDKEYVAL(argsp, RT_KY_TQNSECS, hrtime.hrt_rem);
484 hrtimer_t hrtime; local
503 hrtime.hrt_secs = 0;
504 hrtime
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Dhrtcntl.h113 typedef struct hrtime { struct
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c198 hrtime_t hrtime; local
214 hrtime = gethrtime();
215 hrt2ts(hrtime, &real);
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c165 hrtime_to_monosec(hrtime_t hrtime) argument
167 return (hrtime / NANOSEC);
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c473 hrtime_t hrtime; local
548 hrtime = gethrtime();
549 pip->xmit_idle = (hrtime - ppa->ppa_lasttx) / 1000000000ul;
550 pip->recv_idle = (hrtime - ppa->ppa_lastrx) / 1000000000ul;
983 hrtime_t hrtime; local
1274 hrtime = gethrtime();
1275 ppa->ppa_lasttx = ppa->ppa_lastrx = hrtime;
1605 * Only time-stamp the packet with hrtime if the upper stream
2212 * Only time-stamp the packet with hrtime if the upper stream
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c323 hrtime_t hrtime; local
325 hrtime = cpc_buf_hrtime(cpc, buf);
329 mstimestamp(hrtime), (int)cpuid, "tick");
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1011 hrtime_t hrtime; local
1043 * the system's hrtime.
1045 hrtime = gethrtime();
1046 if (ABS(hrtime - state->sa_hrtime) > FLAG_TIME) {
1049 state->sa_hrtime = hrtime;
/illumos-gate/usr/src/uts/common/os/
H A Dkcpc.c428 kcpc_sample(kcpc_set_t *set, uint64_t *buf, hrtime_t *hrtime, uint64_t *tick) argument
490 if (copyout(&ctx->kc_hrtime, hrtime, sizeof (uint64_t)) == -1)
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3570 uint64_t hrtime; local
3581 hrtime = gethrtime();
3583 /* first time around, store hrtime for future comparision */
3584 ctl->zsctl_hrtime = hrtime;
3585 ctl->zsctl_hrtime_prev = hrtime;
3588 /* Compute increase in hrtime since the most recent read */
3590 ctl->zsctl_hrtime = hrtime;
3591 if ((hrtime = hrtime - ctl->zsctl_hrtime_prev) > 0)
3592 TIMESTRUC_ADD_NANOSEC(ctl->zsctl_hrtime_total, hrtime);
[all...]

Completed in 146 milliseconds