/titanic_41/usr/src/cmd/dispadmin/ |
H A D | fssdispadmin.c | 153 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 D | fxdispadmin.c | 161 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 D | rtdispadmin.c | 158 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 D | iadispadmin.c | 158 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 D | tsdispadmin.c | 158 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 D | rtpriocntl.c | 365 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 D | fxpriocntl.c | 364 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 D | ptime.c | 164 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 D | inj_grammar.y | 80 %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 D | hrtcntl.h | 113 typedef struct hrtime { struct
|
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | util.c | 165 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 D | kcpc.h | 122 extern int kcpc_sample(kcpc_set_t *set, uint64_t *buf, hrtime_t *hrtime,
|
H A D | dtrace.h | 1083 #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 D | cpustat.c | 323 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 D | sppp.c | 473 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 D | zonestatd.c | 3570 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 D | libnvpair.c | 216 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 D | spppasyn.c | 1011 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 D | kcpc.c | 428 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 D | common_asm.s | 331 ! %g1 = hrtime
|
/titanic_41/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 534 GET_HRTIME(%g1, %g2, %g3, %g4, %g5, %o0, %o1, %o2) ! %g1 = hrtime
|