Date: Wed, 30 Dec 1998 13:15:02 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "David M. Cook" cc: djgpp AT delorie DOT com Subject: Re: timing in u sec range In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Wed, 30 Dec 1998, David M. Cook wrote: > >is it possible to do timing in hundreds of micro seconds. I need to do > >something, wait 300 u secs then do something else.I'm using a 133 mhz > >pentium. > > You can use usleep() in unistd.h. No, `usleep' won't do the job, since it cannot sleep less than 54 milliseconds (it uses the PC timer tick to get the time).