Ray Olszewski wrote:
> At 05:55 PM 6/11/2003 -0500, Lee Chin wrote:

> In fact, compiled on my system, the loop as written does introduce just
> about a 1 second delay (30 iterations take 29 seconds,  timed crudely
> with a wristwatch ... just right, since the initial printf() happens
> before the first loop run).

Who needs a wristwatch when you're running on unix.

time the_command

will give you much more accurate timings than you could ever
get with a wristwatch.


-- Stephen Samuel +1(604)876-0426 [EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication, reaching through fear, uncertainty and doubt to touch the jewel within each person and bring it to life.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to