Lines Matching +full:needs +full:- +full:double +full:- +full:reset
1 /* SPDX-License-Identifier: GPL-2.0 */
130 double percent[PERCENT_MAX];
131 double percent_sum;
162 /* This needs to be at the end. */
166 static inline double annotation_data__percent(struct annotation_data *data, in annotation_data__percent()
169 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
198 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
216 void (*set_percent_color)(void *obj, double percent, bool current);
251 u16 reset; member
254 /** struct annotated_source - symbols with hits have this attached as in sannotation
257 * nr_histograms: This may not be the same as evsel->evlist->core.nr_entries if
260 * sets src->nr_histograms to evsel->nr_members.
262 * @source: source parsed from a disassembler like objdump -dS
319 if (notes->branch && notes->options->show_minmax_cycle) in annotation__cycles_width()
322 return notes->branch ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
327 return (symbol_conf.show_total_period ? 12 : 7) * notes->nr_events; in annotation__pcnt_width()
332 return notes->options->hide_src_code && al->offset == -1; in annotation_line__filter()
343 return ((void *)src->histograms) + (src->sizeof_sym_hist * idx); in annotated_source__histogram()
348 return annotated_source__histogram(notes->src, idx); in annotation__histogram()
353 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
386 __SYMBOL_ANNOTATE_ERRNO__START = -10000,