Home
last modified time | relevance | path

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

1234

/openbsd/usr.sbin/unbound/util/
H A Dtimehist.c89 if(!hist) in timehist_setup()
92 hist->buckets = (struct th_buck*)calloc(hist->num, in timehist_setup()
95 free(hist); in timehist_setup()
99 dosetup(hist); in timehist_setup()
100 return hist; in timehist_setup()
105 if(!hist) in timehist_delete()
108 free(hist); in timehist_delete()
128 hist->buckets[hist->num-1].count++; in timehist_insert()
187 if(!hist || hist->num == 0) in timehist_quartile()
217 sz = hist->num; in timehist_export()
[all …]
H A Dtimehist.h80 void timehist_delete(struct timehist* hist);
86 void timehist_clear(struct timehist* hist);
93 void timehist_insert(struct timehist* hist, struct timeval* tv);
103 double timehist_quartile(struct timehist* hist, double q);
109 void timehist_print(struct timehist* hist);
116 void timehist_log(struct timehist* hist, const char* name);
124 void timehist_export(struct timehist* hist, long long* array, size_t sz);
132 void timehist_import(struct timehist* hist, long long* array, size_t sz);
/openbsd/sbin/unwind/libunbound/util/
H A Dtimehist.c89 if(!hist) in timehist_setup()
92 hist->buckets = (struct th_buck*)calloc(hist->num, in timehist_setup()
95 free(hist); in timehist_setup()
99 dosetup(hist); in timehist_setup()
100 return hist; in timehist_setup()
105 if(!hist) in timehist_delete()
108 free(hist); in timehist_delete()
128 hist->buckets[hist->num-1].count++; in timehist_insert()
187 if(!hist || hist->num == 0) in timehist_quartile()
217 sz = hist->num; in timehist_export()
[all …]
H A Dtimehist.h80 void timehist_delete(struct timehist* hist);
86 void timehist_clear(struct timehist* hist);
93 void timehist_insert(struct timehist* hist, struct timeval* tv);
103 double timehist_quartile(struct timehist* hist, double q);
109 void timehist_print(struct timehist* hist);
116 void timehist_log(struct timehist* hist, const char* name);
124 void timehist_export(struct timehist* hist, long long* array, size_t sz);
132 void timehist_import(struct timehist* hist, long long* array, size_t sz);
/openbsd/lib/libedit/TEST/
H A Dtc1.c120 History *hist; in main() local
131 history(hist, &ev, H_SETSIZE, 100); in main()
143 el_set(el, EL_HIST, history, hist); in main()
205 if (history(hist, &ev, H_SET, lastevent) == -1) in main()
207 history(hist, &ev, H_ADD , buf); in main()
209 history(hist, &ev, H_ENTER, buf); in main()
238 rv = history(hist, &ev, H_PREV)) in main()
245 history(hist, &ev, H_CLEAR); in main()
252 history(hist, &ev, H_LOAD, av[2]); in main()
254 history(hist, &ev, H_SAVE, av[2]); in main()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/gprof/
H A Dhist.c207 sym->hist.scaled_addr = sym->addr / sizeof (UNIT); in scale_and_align_entries()
215 (unsigned long) sym->hist.scaled_addr, in scale_and_align_entries()
216 (unsigned long) (sym->hist.scaled_addr in scale_and_align_entries()
218 sym->hist.scaled_addr += UNITS_TO_CODE; in scale_and_align_entries()
298 sym_low_pc = symtab.base[j].hist.scaled_addr; in hist_assign_samples()
299 sym_high_pc = symtab.base[j + 1].hist.scaled_addr; in hist_assign_samples()
333 symtab.base[j].hist.time += credit; in hist_assign_samples()
395 accum_time += sym->hist.time; in print_line()
400 accum_time / hz, sym->hist.time / hz); in print_line()
404 accum_time / hz, sym->hist.time / hz); in print_line()
[all …]
H A DMakefile.am25 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
34 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
206 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
217 hertz.h hist.h $(INCDIR)/libiberty.h
228 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
260 hist.h
265 hist.h
270 hist.h
275 hist.h
280 hist.h
[all …]
/openbsd/usr.sbin/btrace/
H A Dmap.c194 struct hist { struct
199 struct hist * argument
202 struct hist *hist; in hist_new() local
204 hist = calloc(1, sizeof(struct hist)); in hist_new()
205 if (hist == NULL) in hist_new()
207 hist->hstep = step; in hist_new()
209 return hist; in hist_new()
213 hist_increment(struct hist *hist, const char *bucket) in hist_increment() argument
218 ba = map_get(&hist->hmap, bucket); in hist_increment()
301 hist_print(struct hist *hist, const char *name) in hist_print() argument
[all …]
H A Dbtrace.h47 struct hist;
55 struct hist *hist_new(long);
56 void hist_increment(struct hist *, const char *);
57 void hist_print(struct hist *, const char *);
/openbsd/gnu/usr.bin/binutils/gprof/
H A Dhist.c210 sym->hist.scaled_addr = sym->addr / sizeof (UNIT); in scale_and_align_entries()
218 (unsigned long) sym->hist.scaled_addr, in scale_and_align_entries()
219 (unsigned long) (sym->hist.scaled_addr in scale_and_align_entries()
221 sym->hist.scaled_addr += UNITS_TO_CODE; in scale_and_align_entries()
301 sym_low_pc = symtab.base[j].hist.scaled_addr; in hist_assign_samples()
302 sym_high_pc = symtab.base[j + 1].hist.scaled_addr; in hist_assign_samples()
336 symtab.base[j].hist.time += credit; in hist_assign_samples()
401 accum_time += sym->hist.time;
406 accum_time / hz, sym->hist.time / hz);
410 accum_time / hz, sym->hist.time / hz);
[all …]
H A DMakefile.am24 cg_print.c corefile.c gmon_io.c gprof.c hertz.c hist.c source.c \
33 corefile.h gmon.h gmon_io.h gmon_out.h gprof.h hertz.h hist.h \
154 symtab.h cg_arcs.h cg_print.h hist.h utils.h corefile.h
165 hertz.h hist.h $(INCDIR)/libiberty.h
176 hist.o: hist.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
208 hist.h
213 hist.h
218 hist.h
223 hist.h
228 hist.h
[all …]
/openbsd/gnu/gcc/gcc/
H A Dvalue-prof.c708 histogram_value hist; in tree_divmod_values_to_profile() local
737 hist = ggc_alloc (sizeof (*hist)); in tree_divmod_values_to_profile()
750 hist = ggc_alloc (sizeof (*hist)); in tree_divmod_values_to_profile()
756 hist = ggc_alloc (sizeof (*hist)); in tree_divmod_values_to_profile()
758 hist->hvalue.value in tree_divmod_values_to_profile()
788 histogram_value hist; in tree_find_values_to_profile() local
797 switch (hist->type) in tree_find_values_to_profile()
810 hist->n_counters = hist->hdata.intvl.steps + 2; in tree_find_values_to_profile()
820 hist->n_counters = 2; in tree_find_values_to_profile()
830 hist->n_counters = 3; in tree_find_values_to_profile()
[all …]
H A Dprofile.c177 switch (hist->type) in instrument_values()
201 switch (hist->type) in instrument_values()
625 n_histogram_counters[(int) hist->type] += hist->n_counters; in compute_value_histograms()
650 tree stmt = hist->hvalue.stmt; in compute_value_histograms()
653 t = (int) hist->type; in compute_value_histograms()
656 act_count[t] += hist->n_counters; in compute_value_histograms()
658 hist->hvalue.next = ann->histograms; in compute_value_histograms()
659 ann->histograms = hist; in compute_value_histograms()
660 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters); in compute_value_histograms()
661 for (j = 0; j < hist->n_counters; j++) in compute_value_histograms()
[all …]
/openbsd/regress/bin/ksh/
H A Dhistory.t11 env-setup: !ENV=./Env!HISTFILE=hist.file!
28 env-setup: !ENV=./Env!HISTFILE=hist.file!
48 env-setup: !ENV=./Env!HISTFILE=hist.file!
68 env-setup: !ENV=./Env!HISTFILE=hist.file!
84 env-setup: !ENV=./Env!HISTFILE=hist.file!
103 env-setup: !ENV=./Env!HISTFILE=hist.file!
127 env-setup: !ENV=./Env!HISTFILE=hist.file!
151 env-setup: !ENV=./Env!HISTFILE=hist.file!
626 file-setup: !file 644 "hist.file"
644 file-setup: file 644 "hist.file"
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/gprof/po/
H A Dgprof.pot425 #: hist.c:126
430 #: hist.c:142
435 #: hist.c:355
440 #: hist.c:363
447 #: hist.c:369
454 #: hist.c:374
461 #: hist.c:381
465 #: hist.c:381
469 #: hist.c:381
473 #: hist.c:384
[all …]
H A Dda.po449 #: hist.c:127
454 #: hist.c:143
459 #: hist.c:359
464 #: hist.c:367
473 #: hist.c:373
482 #: hist.c:378
490 #: hist.c:385
494 #: hist.c:385
498 #: hist.c:385
502 #: hist.c:388
[all …]
H A Dde.po458 #: hist.c:126
463 #: hist.c:142
468 #: hist.c:355
473 #: hist.c:363
482 #: hist.c:369
491 #: hist.c:374
500 #: hist.c:381
504 #: hist.c:381
508 #: hist.c:381
512 #: hist.c:384
[all …]
H A Did.po447 #: hist.c:122
452 #: hist.c:138
457 #: hist.c:351
462 #: hist.c:359
471 #: hist.c:365
480 #: hist.c:370
488 #: hist.c:377
492 #: hist.c:377
496 #: hist.c:377
500 #: hist.c:380
[all …]
H A Drw.po470 #: hist.c:126
475 #: hist.c:142
480 #: hist.c:355
485 #: hist.c:363
492 #: hist.c:369
499 #: hist.c:374
506 #: hist.c:381
510 #: hist.c:381
518 #: hist.c:381
523 #: hist.c:384
[all …]
/openbsd/gnu/usr.bin/binutils/gprof/po/
H A Dgprof.pot416 #: hist.c:127
421 #: hist.c:143
426 #: hist.c:359
431 #: hist.c:367
438 #: hist.c:373
445 #: hist.c:378
451 #: hist.c:385
455 #: hist.c:385
459 #: hist.c:385
463 #: hist.c:388
[all …]
H A Dda.po449 #: hist.c:127
454 #: hist.c:143
459 #: hist.c:359
464 #: hist.c:367
473 #: hist.c:373
482 #: hist.c:378
490 #: hist.c:385
494 #: hist.c:385
498 #: hist.c:385
502 #: hist.c:388
[all …]
H A Dsv.po451 #: hist.c:127
456 #: hist.c:143
461 #: hist.c:359
466 #: hist.c:367
475 #: hist.c:373
484 #: hist.c:378
492 #: hist.c:385
496 #: hist.c:385
500 #: hist.c:385
504 #: hist.c:388
[all …]
H A Dde.po449 #: hist.c:127
454 #: hist.c:143
459 #: hist.c:359
464 #: hist.c:367
473 #: hist.c:373
482 #: hist.c:378
490 #: hist.c:385
494 #: hist.c:385
498 #: hist.c:385
502 #: hist.c:388
[all …]
H A Did.po447 #: hist.c:122
452 #: hist.c:138
457 #: hist.c:351
462 #: hist.c:359
471 #: hist.c:365
480 #: hist.c:370
488 #: hist.c:377
492 #: hist.c:377
496 #: hist.c:377
500 #: hist.c:380
[all …]
/openbsd/gnu/lib/libreadline/doc/
H A DMakefile.in61 HISTSRC = $(srcdir)/hist.texinfo $(srcdir)/hsuser.texinfo \
76 INTERMEDIATE_OBJ = rlman.dvi hist.dvi rluserman.dvi
103 TEXINPUTS=.:$(TEXINPUTDIR):$$TEXINPUTS $(TEXI2DVI) $(srcdir)/hist.texinfo
104 mv hist.dvi history.dvi
107 $(MAKEINFO) --no-split -I $(TEXINPUTDIR) -o $@ $(srcdir)/hist.texinfo
132 $(TEXI2HTML) -menu -monolithic -I $(TEXINPUTDIR) $(srcdir)/hist.texinfo
133 sed -e 's:hist.html:history.html:g' hist.html > history.html
134 $(RM) hist.html

1234