• Home
  • Raw
  • Download

Lines Matching +full:needs +full:- +full:double +full:- +full:reset

1 /* SPDX-License-Identifier: GPL-2.0 */
128 double percent[PERCENT_MAX];
129 double percent_sum;
155 /* This needs to be at the end. */
159 static inline double annotation_data__percent(struct annotation_data *data, in annotation_data__percent()
162 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
191 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
209 void (*set_percent_color)(void *obj, double percent, bool current);
245 u16 reset; member
248 /** struct annotated_source - symbols with hits have this attached as in sannotation
251 * nr_histograms: This may not be the same as evsel->evlist->core.nr_entries if
254 * sets src->nr_histograms to evsel->nr_members.
256 * @source: source parsed from a disassembler like objdump -dS
302 if (notes->have_cycles && notes->options->show_minmax_cycle) in annotation__cycles_width()
305 return notes->have_cycles ? ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH : 0; in annotation__cycles_width()
310 return (symbol_conf.show_total_period ? 12 : 7) * notes->nr_events; in annotation__pcnt_width()
315 return notes->options->hide_src_code && al->offset == -1; in annotation_line__filter()
326 return ((void *)src->histograms) + (src->sizeof_sym_hist * idx); in annotated_source__histogram()
331 return annotated_source__histogram(notes->src, idx); in annotation__histogram()
336 return (void *)sym - symbol_conf.priv_size; in symbol__annotation()
371 __SYMBOL_ANNOTATE_ERRNO__START = -10000,