Home
last modified time | relevance | path

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

/tools/cgroup/
Diocost_monitor.py141 def __init__(self, iocg): argument
142 ioc = iocg.ioc
143 blkg = iocg.pd.blkg
145 self.is_active = not list_empty(iocg.active_list.address_of_())
146 self.weight = iocg.weight.value_()
147 self.active = iocg.active.value_()
148 self.inuse = iocg.inuse.value_()
149 self.hwa_pct = iocg.hweight_active.value_() * 100 / HWEIGHT_WHOLE
150 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / HWEIGHT_WHOLE
151 self.address = iocg.value_()
[all …]