Home
last modified time | relevance | path

Searched refs:hrtime (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c153 hrtimer_t hrtime; in getadmin() local
169 hrtime.hrt_secs = 0; in getadmin()
170 hrtime.hrt_rem = fssadmin.fss_quantum; in getadmin()
171 hrtime.hrt_res = HZ; in getadmin()
172 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1) in getadmin()
174 if ((fss_quantum = hrtconvert(&hrtime)) == -1) in getadmin()
200 hrtimer_t hrtime; in setadmin() local
259 hrtime.hrt_secs = 0; in setadmin()
260 hrtime.hrt_rem = fss_quantum; in setadmin()
261 hrtime.hrt_res = res; in setadmin()
[all …]
H A Dfxdispadmin.c161 hrtimer_t hrtime; in get_fxdptbl() local
194 hrtime.hrt_secs = 0; in get_fxdptbl()
195 hrtime.hrt_rem = fx_dptbl[i].fx_quantum; in get_fxdptbl()
196 hrtime.hrt_res = HZ; in get_fxdptbl()
197 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1) in get_fxdptbl()
200 if ((fx_dptbl[i].fx_quantum = hrtconvert(&hrtime)) in get_fxdptbl()
229 hrtimer_t hrtime; in set_fxdptbl() local
321 hrtime.hrt_secs = 0; in set_fxdptbl()
322 hrtime.hrt_rem = fx_dptbl[i].fx_quantum; in set_fxdptbl()
323 hrtime.hrt_res = res; in set_fxdptbl()
[all …]
H A Drtdispadmin.c158 hrtimer_t hrtime; in get_rtdptbl() local
191 hrtime.hrt_secs = 0; in get_rtdptbl()
192 hrtime.hrt_rem = rt_dptbl[i].rt_quantum; in get_rtdptbl()
193 hrtime.hrt_res = HZ; in get_rtdptbl()
194 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1) in get_rtdptbl()
198 hrtconvert(&hrtime)) == -1) in get_rtdptbl()
227 hrtimer_t hrtime; local
349 hrtime.hrt_secs = 0;
350 hrtime.hrt_rem = rt_dptbl[i].rt_quantum;
351 hrtime.hrt_res = res;
[all …]
H A Diadispadmin.c158 hrtimer_t hrtime; in get_iadptbl() local
194 hrtime.hrt_secs = 0; in get_iadptbl()
195 hrtime.hrt_rem = ia_dptbl[i].ia_quantum; in get_iadptbl()
196 hrtime.hrt_res = HZ; in get_iadptbl()
197 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1) in get_iadptbl()
200 if ((ia_dptbl[i].ia_quantum = hrtconvert(&hrtime)) in get_iadptbl()
233 hrtimer_t hrtime; local
349 hrtime.hrt_secs = 0;
350 hrtime.hrt_rem = atol(tokp);
351 hrtime.hrt_res = res;
[all …]
H A Dtsdispadmin.c158 hrtimer_t hrtime; in get_tsdptbl() local
191 hrtime.hrt_secs = 0; in get_tsdptbl()
192 hrtime.hrt_rem = ts_dptbl[i].ts_quantum; in get_tsdptbl()
193 hrtime.hrt_res = HZ; in get_tsdptbl()
194 if (_hrtnewres(&hrtime, res, HRT_RNDUP) == -1) in get_tsdptbl()
197 if ((ts_dptbl[i].ts_quantum = hrtconvert(&hrtime)) in get_tsdptbl()
229 hrtimer_t hrtime; local
345 hrtime.hrt_secs = 0;
346 hrtime.hrt_rem = atol(tokp);
347 hrtime.hrt_res = res;
[all …]
/titanic_41/usr/src/cmd/priocntl/
H A Drtpriocntl.c365 hrtimer_t hrtime; in set_rtprocs() local
392 hrtime.hrt_secs = 0; in set_rtprocs()
393 hrtime.hrt_rem = tqntm; in set_rtprocs()
394 hrtime.hrt_res = res; in set_rtprocs()
395 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1) in set_rtprocs()
397 ADDKEYVAL(argsp, RT_KY_TQSECS, hrtime.hrt_secs); in set_rtprocs()
398 ADDKEYVAL(argsp, RT_KY_TQNSECS, hrtime.hrt_rem); in set_rtprocs()
484 hrtimer_t hrtime; in exec_rtcmd() local
503 hrtime.hrt_secs = 0; in exec_rtcmd()
504 hrtime.hrt_rem = tqntm; in exec_rtcmd()
[all …]
H A Dfxpriocntl.c364 hrtimer_t hrtime; in set_fxprocs() local
396 hrtime.hrt_secs = 0; in set_fxprocs()
397 hrtime.hrt_rem = tqntm; in set_fxprocs()
398 hrtime.hrt_res = res; in set_fxprocs()
399 if (_hrtnewres(&hrtime, NANOSEC, HRT_RNDUP) == -1) in set_fxprocs()
401 ADDKEYVAL(argsp, FX_KY_TQSECS, hrtime.hrt_secs); in set_fxprocs()
402 ADDKEYVAL(argsp, FX_KY_TQNSECS, hrtime.hrt_rem); in set_fxprocs()
497 hrtimer_t hrtime; in exec_fxcmd() local
523 hrtime.hrt_secs = 0; in exec_fxcmd()
524 hrtime.hrt_rem = tqntm; in exec_fxcmd()
[all …]
/titanic_41/usr/src/cmd/ptools/ptime/
H A Dptime.c164 hrtime_t hrtime; in look() local
178 hrtime = gethrtime(); in look()
179 hrt2ts(hrtime, &real); in look()
/titanic_41/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 {
/titanic_41/usr/src/uts/intel/sys/
H A Dhrtcntl.h113 typedef struct hrtime { struct
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c165 hrtime_to_monosec(hrtime_t hrtime) in hrtime_to_monosec() argument
167 return (hrtime / NANOSEC); in hrtime_to_monosec()
/titanic_41/usr/src/uts/common/sys/
H A Dkcpc.h122 extern int kcpc_sample(kcpc_set_t *set, uint64_t *buf, hrtime_t *hrtime,
H A Ddtrace.h1083 #define DTRACE_RECORD_STORE_TIMESTAMP(dtrh, hrtime) { \ argument
1084 (dtrh)->dtrh_timestamp_lo = (uint32_t)hrtime; \
1085 (dtrh)->dtrh_timestamp_hi = hrtime >> 32; \
/titanic_41/usr/src/cmd/cpc/common/
H A Dcpustat.c323 hrtime_t hrtime; in print_sample() local
325 hrtime = cpc_buf_hrtime(cpc, buf); in print_sample()
329 mstimestamp(hrtime), (int)cpuid, "tick"); in print_sample()
/titanic_41/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c473 hrtime_t hrtime; in sppp_ioctl() local
548 hrtime = gethrtime(); in sppp_ioctl()
549 pip->xmit_idle = (hrtime - ppa->ppa_lasttx) / 1000000000ul; in sppp_ioctl()
550 pip->recv_idle = (hrtime - ppa->ppa_lastrx) / 1000000000ul; in sppp_ioctl()
983 hrtime_t hrtime; in sppp_inner_ioctl() local
1274 hrtime = gethrtime(); in sppp_inner_ioctl()
1275 ppa->ppa_lasttx = ppa->ppa_lastrx = hrtime; in sppp_inner_ioctl()
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c3570 uint64_t hrtime; in zsd_refresh_cpu_stats() local
3581 hrtime = gethrtime(); in zsd_refresh_cpu_stats()
3584 ctl->zsctl_hrtime = hrtime; in zsd_refresh_cpu_stats()
3585 ctl->zsctl_hrtime_prev = hrtime; in zsd_refresh_cpu_stats()
3590 ctl->zsctl_hrtime = hrtime; in zsd_refresh_cpu_stats()
3591 if ((hrtime = hrtime - ctl->zsctl_hrtime_prev) > 0) in zsd_refresh_cpu_stats()
3592 TIMESTRUC_ADD_NANOSEC(ctl->zsctl_hrtime_total, hrtime); in zsd_refresh_cpu_stats()
3637 hrtime = delta.tv_sec; in zsd_refresh_cpu_stats()
3638 hrtime *= NANOSEC; in zsd_refresh_cpu_stats()
3639 hrtime += delta.tv_nsec; in zsd_refresh_cpu_stats()
[all …]
/titanic_41/usr/src/lib/libnvpair/
H A Dlibnvpair.c216 NVLIST_PRTFUNC(hrtime, hrtime_t, hrtime_t, "0x%llx")
443 NVLIST_PRINTCTL_REPLACE(hrtime, hrtime_t)
732 RENDER(pctl, hrtime, nvl, name, val); in nvlist_print_with_indent()
/titanic_41/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1011 hrtime_t hrtime; in ahdlc_encode() local
1045 hrtime = gethrtime(); in ahdlc_encode()
1046 if (ABS(hrtime - state->sa_hrtime) > FLAG_TIME) { in ahdlc_encode()
1049 state->sa_hrtime = hrtime; in ahdlc_encode()
/titanic_41/usr/src/uts/common/os/
H A Dkcpc.c428 kcpc_sample(kcpc_set_t *set, uint64_t *buf, hrtime_t *hrtime, uint64_t *tick) in kcpc_sample() argument
490 if (copyout(&ctx->kc_hrtime, hrtime, sizeof (uint64_t)) == -1) in kcpc_sample()
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s331 ! %g1 = hrtime
/titanic_41/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s534 GET_HRTIME(%g1, %g2, %g3, %g4, %g5, %o0, %o1, %o2) ! %g1 = hrtime