Re: More accurate time feedback
Dave Sherohman writes:
> On Wed, Oct 24, 2001 at 06:29:39PM -0500, Ian Patrick Thomas wrote:
> > to a nanosecond, using the system clock? I need to write a
> > program that needs to output the time it takes various sorting
> > algprithms to sort various numbers of integers. For smaller
> > numbers of integers on algorithms like quicksort, and mergesort,
> > I am getting 0 for the runtime. I need a function that I can call
>
> faster than a quicksort.) If you are required to use a small data
> set, just perform more repetitions to get measurable data.
This also allows you to obtain statistics like standard deviations and
confidence intervals.
Andrew.
Reply to: