Linux Newbie help
 help / color / mirror / Atom feed
From: Stephen Samuel <samuel@bcgreen.com>
To: Ray Olszewski <ray@comarre.com>
Cc: Lee Chin <leechin@mail.com>,
	hahn@physics.mcmaster.ca, linux-newbie@vger.kernel.org
Subject: Re: usleep
Date: Thu, 12 Jun 2003 18:23:31 -0700	[thread overview]
Message-ID: <3EE92793.9020801@bcgreen.com> (raw)
In-Reply-To: <5.1.0.14.1.20030611162513.01fc8040@celine>

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                samuel@bcgreen.com
		   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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2003-06-13  1:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11 22:55 usleep Lee Chin
2003-06-11 16:08 ` usleep Alan Bort
2003-06-11 23:21 ` usleep CaT
2003-06-11 23:45 ` usleep Mark Hahn
2003-06-11 23:55 ` usleep Ray Olszewski
2003-06-12  0:17   ` usleep Mark Hahn
     [not found]   ` <Pine.LNX.4.44.0306112015380.20310-100000@coffee.psychology .mcmaster.ca>
2003-06-12  0:38     ` usleep Ray Olszewski
2003-06-11 18:45       ` usleep Alan Bort
2003-06-12  4:14       ` usleep Riley Williams
2003-06-12  7:46         ` usleep Ray Olszewski
2003-06-13  1:23   ` Stephen Samuel [this message]
2003-06-12 11:47 ` usleep Steven Smith
2003-06-13  1:16 ` usleep Stephen Samuel
2003-06-13  1:22   ` usleep Mark Hahn
  -- strict thread matches above, loose matches on Subject: below --
2003-06-12  0:42 usleep Lee Chin
2003-06-12  0:53 usleep Lee Chin
2003-06-12  1:02 ` usleep Mark Hahn
2003-06-12  1:04 usleep Lee Chin
2003-06-12 20:43 usleep Lee Chin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EE92793.9020801@bcgreen.com \
    --to=samuel@bcgreen.com \
    --cc=hahn@physics.mcmaster.ca \
    --cc=leechin@mail.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=ray@comarre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox