Home
last modified time | relevance | path

Searched refs:zsp_usage_kern (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/lib/libzonestat/common/
H A Dlibzonestat.c535 ZS_MAXOFTS(old->zsp_usage_kern, new->zsp_usage_kern); in zs_pset_add_usage()
546 TIMESTRUC_ADD_TIMESTRUC(old->zsp_usage_kern, new->zsp_usage_kern); in zs_pset_add_usage()
643 TIMESTRUC_DELTA(pres->zsp_usage_kern, in zs_usage_compute_psets()
644 pnew->zsp_usage_kern, pold->zsp_usage_kern); in zs_usage_compute_psets()
1019 tot = pset->zsp_usage_kern; in zs_pset_usage_all()
1029 tot = pset->zsp_usage_kern; in zs_pset_usage_idle()
1039 *ts = pset->zsp_usage_kern; in zs_pset_usage_kernel()
1053 tot = pset->zsp_usage_kern; in zs_pset_usage_all_pct()
1064 tot = pset->zsp_usage_kern; in zs_pset_usage_idle_pct()
1074 return (zs_ts_used_pct(&pset->zsp_total_time, &pset->zsp_usage_kern, in zs_pset_usage_kernel_pct()
[all …]
H A Dzonestat_impl.h224 timestruc_t zsp_usage_kern; member
/titanic_44/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c201 timestruc_t zsp_usage_kern; member
3614 TIMESTRUC_DELTA(pset->zsp_usage_kern, ts, in zsd_refresh_cpu_stats()
3616 if (pset->zsp_usage_kern.tv_sec < 0 || in zsd_refresh_cpu_stats()
3617 pset->zsp_usage_kern.tv_nsec < 0) { in zsd_refresh_cpu_stats()
3618 pset->zsp_usage_kern.tv_sec = 0; in zsd_refresh_cpu_stats()
3619 pset->zsp_usage_kern.tv_nsec = 0; in zsd_refresh_cpu_stats()
3852 pset->zsp_usage_kern = dpset->zsp_usage_kern; in zsd_usage_cache_update()
4330 TIMESTRUC_ADD_TIMESTRUC(pset->zsp_usage_kern, delta); in zsd_usage_filter()