Searched refs:block_fmt (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | block-info.c | 169 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_header() local 171 return scnprintf(hpp->buf, hpp->size, "%*s", block_fmt->width, in block_column_header() 172 block_fmt->header); in block_column_header() 179 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_column_width() local 181 return block_fmt->width; in block_column_width() 199 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_entry() local 203 if (block_fmt->total_cycles) in block_total_cycles_pct_entry() 204 ratio = (double)bi->cycles_aggr / (double)block_fmt->total_cycles; in block_total_cycles_pct_entry() 206 return color_pct(hpp, block_fmt->width, 100.0 * ratio); in block_total_cycles_pct_entry() 213 struct block_fmt *block_fmt = container_of(fmt, struct block_fmt, fmt); in block_total_cycles_pct_sort() local [all …]
|
D | block-info.h | 25 struct block_fmt { struct 47 struct block_fmt fmts[PERF_HPP_REPORT__BLOCK_MAX_INDEX]; argument
|
D | sort.h | 288 struct perf_hpp_fmt block_fmt; member
|
/tools/perf/ |
D | builtin-diff.c | 587 INIT_LIST_HEAD(&bh->block_fmt.list); in init_block_hist() 588 INIT_LIST_HEAD(&bh->block_fmt.sort_list); in init_block_hist() 589 bh->block_fmt.cmp = block_info__cmp; in init_block_hist() 590 bh->block_fmt.sort = block_sort; in init_block_hist() 592 &bh->block_fmt); in init_block_hist()
|