Lines Matching refs:he

21 static int __hpp__fmt(struct perf_hpp *hpp, struct hist_entry *he,  in __hpp__fmt()  argument
26 struct hists *hists = he->hists; in __hpp__fmt()
36 percent = 100.0 * get_field(he) / total; in __hpp__fmt()
40 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, get_field(he)); in __hpp__fmt()
49 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
111 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt() argument
117 return __hpp__fmt(hpp, he, get_field, fmtstr, 1, in hpp__fmt()
126 return __hpp__fmt(hpp, he, get_field, fmtstr, len, print_fn, fmt_percent); in hpp__fmt()
130 struct hist_entry *he, hpp_field_fn get_field, in hpp__fmt_acc() argument
138 return hpp__fmt(fmt, hpp, he, get_field, fmtstr, print_fn, fmt_percent); in hpp__fmt_acc()
274 static u64 he_get_##_field(struct hist_entry *he) \
276 return he->stat._field; \
280 struct perf_hpp *hpp, struct hist_entry *he) \
282 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
288 struct perf_hpp *hpp, struct hist_entry *he) \
290 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
302 static u64 he_get_acc_##_field(struct hist_entry *he) \
304 return he->stat_acc->_field; \
308 struct perf_hpp *hpp, struct hist_entry *he) \
310 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
316 struct perf_hpp *hpp, struct hist_entry *he) \
318 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
330 static u64 he_get_raw_##_field(struct hist_entry *he) \
332 return he->stat._field; \
336 struct perf_hpp *hpp, struct hist_entry *he) \
338 return hpp__fmt(fmt, hpp, he, he_get_raw_##_field, " %*"PRIu64, \