(UNIX/C) Same buffer size on copy file program generates different executable times, why?

On a file copy program I wrote in C which I run in unix, I have the user indicate a buffer size.
I time the execution of the program using the unix command time.

When I use the same buffer size I generate different results, why is this?
Is there a better way to measure the execution time?

This entry was posted in Uncategorized and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>