Home
last modified time | relevance | path

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

/linux/include/trace/events/
H A Diocost.h16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
22 __string(devname, ioc_name(iocg->ioc))
41 __entry->vrate = iocg->ioc->vtime_base_rate;
45 __entry->weight = iocg->weight;
46 __entry->inuse = iocg->inuse;
47 __entry->hweight_active = iocg->hweight_active;
48 __entry->hweight_inuse = iocg->hweight_inuse;
63 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
66 TP_ARGS(iocg, pat
[all...]
/linux/tools/cgroup/
H A Diocost_monitor.py144 def __init__(self, iocg): argument
145 ioc = iocg.ioc
146 blkg = iocg.pd.blkg
148 self.is_active = not list_empty(iocg.active_list.address_of_())
149 self.weight = iocg.weight.value_() / WEIGHT_ONE
150 self.active = iocg.active.value_() / WEIGHT_ONE
151 self.inuse = iocg.inuse.value_() / WEIGHT_ONE
152 self.hwa_pct = iocg.hweight_active.value_() * 100 / WEIGHT_ONE
153 self.hwi_pct = iocg.hweight_inuse.value_() * 100 / WEIGHT_ONE
154 self.address = iocg.value_()
[all …]