Lines Matching +full:avg +full:- +full:samples

1 /* SPDX-License-Identifier: GPL-2.0 */
104 u64 avg; member
147 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
176 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
211 * struct sym_hist - symbol histogram information for an event
213 * @nr_samples: Total number of samples.
222 * struct cyc_hist - (CPU) cycle histogram for a basic block
230 * @num: Number of samples for the longest basic block.
231 * @num_aggr: Total number of samples for this address.
261 * struct annotated_source - symbols with hits have this attached as in annotation
265 * of samples and period.
266 * @nr_histograms: This may not be the same as evsel->evlist->core.nr_entries if
269 * sets src->nr_histograms to evsel->nr_members.
270 * @samples: Hash map of sym_hist_entry. Keyed by event index and offset in symbol.
288 struct hashmap *samples; member
313 * struct annotated_branch - basic block and IPC information for a symbol.
320 * @max_coverage: Maximum number of covered basic block (used for block-range).
357 if (notes->branch && annotate_opts.show_minmax_cycle) in annotation__cycles_width()
360 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
365 return (symbol_conf.show_total_period ? 12 : 8) * notes->src->nr_events; in annotation__pcnt_width()
370 return annotate_opts.hide_src_code && al->offset == -1; in annotation_line__filter()
384 return &src->histograms[evsel->core.idx]; in annotated_source__histogram()
390 return annotated_source__histogram(notes->src, evsel); in annotation__histogram()
397 long key = offset << 16 | evsel->core.idx; in annotated_source__hist_entry()
399 if (!hashmap__find(src->samples, key, &entry)) in annotated_source__hist_entry()
406 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
443 __SYMBOL_ANNOTATE_ERRNO__START = -10000,
494 * struct annotated_op_loc - Location info of instruction operand
532 * struct annotated_insn_loc - Location info of instruction
540 for (i = INSN_OP_SOURCE, op_loc = &(insn_loc)->ops[i]; \
559 /* Calculate PC-relative address */
564 * struct annotated_basic_block - Basic block of instructions