Home
last modified time | relevance | path

Searched refs:hist (Results 1 – 25 of 117) sorted by relevance

12345

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dvalue-prof.cc117 histogram_value hist = (histogram_value) xcalloc (1, sizeof (*hist)); in gimple_alloc_histogram_value() local
118 hist->hvalue.value = value; in gimple_alloc_histogram_value()
119 hist->hvalue.stmt = stmt; in gimple_alloc_histogram_value()
120 hist->type = type; in gimple_alloc_histogram_value()
121 return hist; in gimple_alloc_histogram_value()
143 set_histogram_value (struct function *fun, gimple *stmt, histogram_value hist) in set_histogram_value() argument
146 if (!hist && !VALUE_HISTOGRAMS (fun)) in set_histogram_value()
153 hist ? INSERT : NO_INSERT); in set_histogram_value()
154 if (!hist) in set_histogram_value()
160 *loc = hist; in set_histogram_value()
[all …]
Dprofile.cc156 histogram_value hist = values[i]; in instrument_values() local
157 unsigned t = COUNTER_FOR_HIST_TYPE (hist->type); in instrument_values()
159 if (!coverage_counter_alloc (t, hist->n_counters)) in instrument_values()
162 switch (hist->type) in instrument_values()
165 gimple_gen_interval_profiler (hist, t); in instrument_values()
169 gimple_gen_pow2_profiler (hist, t); in instrument_values()
173 gimple_gen_topn_values_profiler (hist, t); in instrument_values()
177 gimple_gen_ic_profiler (hist, t); in instrument_values()
181 gimple_gen_average_profiler (hist, t); in instrument_values()
185 gimple_gen_ior_profiler (hist, t); in instrument_values()
[all …]
/netbsd/src/bin/sh/
Dhistedit.c78 History *hist; /* history cookie */ variable
116 if (!hist) { in histedit()
121 hist = history_init(); in histedit()
124 if (hist != NULL) { in histedit()
174 if (hist) in histedit()
175 el_set(el, EL_HIST, history, hist); in histedit()
214 if (hist) { in histedit()
215 history_end(hist); in histedit()
216 hist = NULL; in histedit()
262 (hs == NULL ? "''" : hs), flags, "!hist" + (hist != NULL))); in sethistsize()
[all …]
/netbsd/src/lib/libedit/TEST/
Dtc1.c132 History *hist; in main() local
141 hist = history_init(); /* Init the builtin history */ in main()
143 history(hist, &ev, H_SETSIZE, 100); in main()
155 el_set(el, EL_HIST, history, hist); in main()
217 if (history(hist, &ev, H_SET, lastevent) == -1) in main()
219 history(hist, &ev, H_ADD , buf); in main()
221 history(hist, &ev, H_ENTER, buf); in main()
226 history(hist, &ev, continuation ? H_APPEND : H_ENTER, buf); in main()
249 for (rv = history(hist, &ev, H_LAST); rv != -1; in main()
250 rv = history(hist, &ev, H_PREV)) in main()
[all …]
Dwtc1.c114 HistoryW *hist; in main() local
127 hist = history_winit(); /* Init built-in history */ in main()
128 history_w(hist, &ev, H_SETSIZE, 100); /* Remember 100 events */ in main()
129 history_w(hist, &ev, H_LOAD, hfile); in main()
139 el_wset(el, EL_HIST, history_w, hist); /* FIXME - history_w? */ in main()
193 history_w(hist, &ev, continuation ? H_APPEND : H_ENTER, line); in main()
214 for(rc = history_w(hist, &ev, H_LAST); in main()
216 rc = history_w(hist, &ev, H_PREV)) in main()
222 history_w(hist, &ev, H_CLEAR); in main()
228 history_w(hist, &ev, H_LOAD, in main()
[all …]
/netbsd/src/external/gpl3/binutils/dist/gprof/
Dhist.c302 sym->hist.scaled_addr = sym->addr / sizeof (UNIT); in scale_and_align_entries()
306 bin_of_entry = (sym->hist.scaled_addr - r->lowpc) / hist_scale; in scale_and_align_entries()
307 bin_of_code = ((sym->hist.scaled_addr + UNITS_TO_CODE - r->lowpc) in scale_and_align_entries()
313 (unsigned long) sym->hist.scaled_addr, in scale_and_align_entries()
314 (unsigned long) (sym->hist.scaled_addr in scale_and_align_entries()
316 sym->hist.scaled_addr += UNITS_TO_CODE; in scale_and_align_entries()
397 sym_low_pc = symtab.base[j].hist.scaled_addr; in hist_assign_samples_1()
398 sym_high_pc = symtab.base[j + 1].hist.scaled_addr; in hist_assign_samples_1()
432 symtab.base[j].hist.time += credit; in hist_assign_samples_1()
503 if (ignore_zeros && sym->ncalls == 0 && sym->hist.time == 0) in print_line()
[all …]
/netbsd/src/sys/gdbscripts/
Dkernhist8 set $hist = (struct kern_history *)&$arg0
9 set $histf = $hist->f
10 set $histn = $hist->n
13 printf "Kernel history %s has %d entries (next free %d)\n", $hist->name, $histn, $histf
15 set $e = $hist->e[$lcv]
28 # if fmt is NULL and hist->f isn't zero, skip back to
39 dump a kernel hist. eg, "kernhist usbhist". note that the format
/netbsd/src/external/gpl3/binutils/dist/gprof/po/
Dgprof.pot38 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
123 #: cg_print.c:79 hist.c:470
173 #: cg_print.c:102 hist.c:496
431 #: hist.c:134
439 #: hist.c:144
447 #: hist.c:158
452 #: hist.c:195
457 #: hist.c:229
462 #: hist.c:466
467 #: hist.c:474
[all …]
Dja.po42 #: basic_blocks.c:129 call_graph.c:89 hist.c:107
132 #: cg_print.c:80 hist.c:468
182 #: cg_print.c:103 hist.c:494
433 #: hist.c:135
441 #: hist.c:145
449 #: hist.c:159
454 #: hist.c:196
461 #: hist.c:230
466 #: hist.c:464
471 #: hist.c:472
[all …]
Dru.po40 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
140 #: cg_print.c:79 hist.c:470
196 #: cg_print.c:102 hist.c:496
465 #: hist.c:134
476 #: hist.c:144
487 #: hist.c:158
492 #: hist.c:195
497 #: hist.c:229
502 #: hist.c:466
507 #: hist.c:474
[all …]
Duk.po41 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
141 #: cg_print.c:79 hist.c:470
197 #: cg_print.c:102 hist.c:496
466 #: hist.c:134
477 #: hist.c:144
488 #: hist.c:158
493 #: hist.c:195
498 #: hist.c:229
503 #: hist.c:466
508 #: hist.c:474
[all …]
Dka.po41 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
141 #: cg_print.c:79 hist.c:470
197 #: cg_print.c:102 hist.c:496
466 #: hist.c:134
477 #: hist.c:144
488 #: hist.c:158
493 #: hist.c:195
498 #: hist.c:229
503 #: hist.c:466
508 #: hist.c:474
[all …]
Dbg.po40 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
140 #: cg_print.c:79 hist.c:470
197 #: cg_print.c:102 hist.c:496
466 #: hist.c:134
477 #: hist.c:144
488 #: hist.c:158
493 #: hist.c:195
498 #: hist.c:229
503 #: hist.c:466
508 #: hist.c:474
[all …]
Dsr.po41 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
141 #: cg_print.c:79 hist.c:470
197 #: cg_print.c:102 hist.c:496
466 #: hist.c:134
477 #: hist.c:144
488 #: hist.c:158
493 #: hist.c:195
498 #: hist.c:229
503 #: hist.c:466
508 #: hist.c:474
[all …]
Dfi.po44 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
145 #: cg_print.c:79 hist.c:470
204 #: cg_print.c:102 hist.c:496
473 #: hist.c:134
484 #: hist.c:144
495 #: hist.c:158
500 #: hist.c:195
505 #: hist.c:229
510 #: hist.c:466
515 #: hist.c:474
[all …]
Deo.po40 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
140 #: cg_print.c:79 hist.c:470
196 #: cg_print.c:102 hist.c:496
465 #: hist.c:134
476 #: hist.c:144
487 #: hist.c:158
492 #: hist.c:195
497 #: hist.c:229
502 #: hist.c:466
507 #: hist.c:474
[all …]
Dms.po41 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
141 #: cg_print.c:79 hist.c:470
197 #: cg_print.c:102 hist.c:496
466 #: hist.c:134
477 #: hist.c:144
488 #: hist.c:158
493 #: hist.c:195
498 #: hist.c:229
503 #: hist.c:466
508 #: hist.c:474
[all …]
Did.po40 #: basic_blocks.c:129 call_graph.c:89 hist.c:107
140 #: cg_print.c:80 hist.c:468
196 #: cg_print.c:103 hist.c:494
460 #: hist.c:135
471 #: hist.c:145
482 #: hist.c:159
487 #: hist.c:196
492 #: hist.c:230
497 #: hist.c:464
502 #: hist.c:472
[all …]
Dit.po40 #: basic_blocks.c:128 call_graph.c:89 hist.c:107
140 #: cg_print.c:79 hist.c:468
196 #: cg_print.c:99 hist.c:494
460 #: hist.c:135
471 #: hist.c:145
482 #: hist.c:159
487 #: hist.c:196
492 #: hist.c:230
497 #: hist.c:464
502 #: hist.c:472
[all …]
Dsv.po42 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
142 #: cg_print.c:79 hist.c:470
198 #: cg_print.c:102 hist.c:496
471 #: hist.c:134
482 #: hist.c:144
493 #: hist.c:158
498 #: hist.c:195
503 #: hist.c:229
508 #: hist.c:466
513 #: hist.c:474
[all …]
Dda.po39 #: basic_blocks.c:129 call_graph.c:89 hist.c:107
139 #: cg_print.c:80 hist.c:471
195 #: cg_print.c:103 hist.c:497
462 #: hist.c:135
473 #: hist.c:145
484 #: hist.c:159
489 #: hist.c:196
494 #: hist.c:230
499 #: hist.c:467
504 #: hist.c:475
[all …]
Dde.po41 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
141 #: cg_print.c:79 hist.c:470
198 #: cg_print.c:102 hist.c:496
467 #: hist.c:134
478 #: hist.c:144
489 #: hist.c:158
494 #: hist.c:195
499 #: hist.c:229
504 #: hist.c:466
509 #: hist.c:474
[all …]
Dnl.po40 #: basic_blocks.c:128 call_graph.c:89 hist.c:105
143 #: cg_print.c:79 hist.c:466
200 #: cg_print.c:99 hist.c:492
475 #: hist.c:133
487 #: hist.c:143
498 #: hist.c:157
503 #: hist.c:194
508 #: hist.c:228
513 #: hist.c:462
518 #: hist.c:470
[all …]
Des.po40 #: basic_blocks.c:128 call_graph.c:89 hist.c:106
140 #: cg_print.c:79 hist.c:470
196 #: cg_print.c:102 hist.c:496
465 #: hist.c:134
476 #: hist.c:144
487 #: hist.c:158
492 #: hist.c:195
497 #: hist.c:229
502 #: hist.c:466
507 #: hist.c:474
[all …]
/netbsd/src/usr.sbin/lpr/lpc/
Dlpc.c81 History *hist; variable
142 history_end(hist); in intr()
165 hist = history_init(); in cmdscanner()
166 history(hist, &he, H_SETSIZE, 100); /* 100 elt history buffer */ in cmdscanner()
171 el_set(elptr, EL_HIST, history, hist); in cmdscanner()
179 history(hist, &he, H_ENTER, elline); in cmdscanner()

12345