Lines Matching refs:histogram
263 histogram_value histogram;
289 for (histogram = ann->histograms; histogram; histogram = histogram->hvalue.next)
290 if (histogram->type == HIST_TYPE_SINGLE_VALUE)
293 if (!histogram)
296 value = histogram->hvalue.value;
297 val = histogram->hvalue.counters[0];
298 count = histogram->hvalue.counters[1];
299 all = histogram->hvalue.counters[2];
430 histogram_value histogram;
456 for (histogram = ann->histograms; histogram; histogram = histogram->hvalue.next)
457 if (histogram->type == HIST_TYPE_POW2)
460 if (!histogram)
463 value = histogram->hvalue.value;
464 wrong_values = histogram->hvalue.counters[0];
465 count = histogram->hvalue.counters[1];
612 histogram_value histogram;
639 for (histogram = ann->histograms; histogram; histogram = histogram->hvalue.next)
640 if (histogram->type == HIST_TYPE_INTERVAL)
643 if (!histogram)
646 value = histogram->hvalue.value;
649 for (i = 0; i < histogram->hdata.intvl.steps; i++)
650 all += histogram->hvalue.counters[i];
652 wrong_values += histogram->hvalue.counters[i];
653 wrong_values += histogram->hvalue.counters[i+1];
663 for (i = 0; i < histogram->hdata.intvl.steps; i++)
665 count += histogram->hvalue.counters[i];
669 if (i == histogram->hdata.intvl.steps)
679 prob1 = (histogram->hvalue.counters[0] * REG_BR_PROB_BASE + all / 2) / all;
680 prob2 = (histogram->hvalue.counters[1] * REG_BR_PROB_BASE + all / 2) / all;
685 histogram->hvalue.counters[0],
686 histogram->hvalue.counters[1], all);