Lines Matching +full:needs +full:- +full:double +full:- +full:reset
1 /* SPDX-License-Identifier: GPL-2.0 */
97 double percent[PERCENT_MAX];
98 double percent_sum;
136 /* This needs to be at the end. */
144 static inline double annotation_data__percent(struct annotation_data *data, in annotation_data__percent()
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()
193 void (*set_percent_color)(void *obj, double percent, bool current);
211 * struct sym_hist - symbol histogram information for an event
222 * struct cyc_hist - (CPU) cycle histogram for a basic block
233 * @reset: Number of resets due to a different start address.
257 u16 reset; member
261 * struct annotated_source - symbols with hits have this attached as in annotation
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.
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