Lines Matching +full:avg +full:- +full:samples
1 /* SPDX-License-Identifier: GPL-2.0 */
106 u64 avg; member
149 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
178 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
213 * struct sym_hist - symbol histogram information for an event
215 * @nr_samples: Total number of samples.
224 * struct cyc_hist - (CPU) cycle histogram for a basic block
232 * @num: Number of samples for the longest basic block.
233 * @num_aggr: Total number of samples for this address.
263 * struct annotated_source - symbols with hits have this attached as in annotation
267 * of samples and period.
268 * @nr_histograms: This may not be the same as evsel->evlist->core.nr_entries if
271 * sets src->nr_histograms to evsel->nr_members.
272 * @samples: Hash map of sym_hist_entry. Keyed by event index and offset in symbol.
290 struct hashmap *samples; member
315 * struct annotated_branch - basic block and IPC information for a symbol.
322 * @max_coverage: Maximum number of covered basic block (used for block-range).
359 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
362 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
367 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width()
372 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter()
386 return &src->histograms[evsel->core.idx]; in annotated_source__histogram()
392 return annotated_source__histogram(notes->src, evsel); in annotation__histogram()
399 long key = offset << 16 | evsel->core.idx; in annotated_source__hist_entry()
401 if (!hashmap__find(src->samples, key, &entry)) in annotated_source__hist_entry()
408 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
445 __SYMBOL_ANNOTATE_ERRNO__START = -10000,
495 * struct annotated_op_loc - Location info of instruction operand
533 * struct annotated_insn_loc - Location info of instruction
541 for (i = INSN_OP_SOURCE, op_loc = &(insn_loc)->ops[i]; \
560 /* Calculate PC-relative address */
565 * struct annotated_basic_block - Basic block of instructions