Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/disp/
H A Dcpucaps.c186 static hrtime_t cap_tick_cost; variable
237 cap_tick_cost = TICK_TO_NSEC((hrtime_t)1); in cpucaps_init()
695 value = cap_val * cap_tick_cost; in cpucaps_zone_set()
880 value = cap_val * cap_tick_cost; in cpucaps_project_set()
929 return (cap != NULL ? (rctl_qty_t)(cap->cap_usage / cap_tick_cost) : 0); in cap_get()
982 if (usage_delta > cap_tick_cost) in caps_charge_adjust()
983 usage_delta = cap_tick_cost; in caps_charge_adjust()
1135 ROUND_SCALE(cap->cap_value, cap_tick_cost); in cap_kstat_update()
1137 ROUND_SCALE(cap->cap_usage, cap_tick_cost); in cap_kstat_update()
1139 ROUND_SCALE(cap->cap_maxusage, cap_tick_cost); in cap_kstat_update()