No subject


Wed Feb 27 14:13:14 PST 2008


        for (i =0; i < perf->iterations; i++) {

        ....

            } else if (! perf->exact_iterations) {
                if (i > 0) {
                    _cairo_stats_compute (&stats, times, i+1);

                    if (stats.std_dev <= CAIRO_PERF_LOW_STD_DEV)
                    {
                        low_std_dev_count++;
                        if (low_std_dev_count >= CAIRO_PERF_STABLE_STD_DEV_COUNT)
                            break;
                    } else {
                        low_std_dev_count = 0;
                    }
                }
            }

Ie,. the statistics are computed on each iteration if perf->raw and
perf->exact_iterations are both FALSE, which is the case by default.


Soren


More information about the cairo mailing list