ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/19/20:18:21

Date: Sun, 20 Feb 2000 06:37:55 +0500 (MVT)
From: Prashant TR <prashant_tr AT yahoo DOT com>
X-Sender: prashant_tr AT midpec DOT com
To: Brian Ronk <rithe AT xoommail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Timing
In-Reply-To: <200002191655.IAA11731@www2.xoommail.com>
Message-ID: <Pine.LNX.4.10.10002200633480.762-100000@midpec.com>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 19 Feb 2000, Brian Ronk wrote:

> Please scratch my last question, I figured it out.
> New one though.  I need to time how long a group 
> of functions takes in seconds, or miliseconds as 
> the case may be.  I'm using the time.h, and 
> time(NULL), but for most of the times, it is so 
> small, that the time(NULL) doesn't calculate 
> something that small.  Does anyone have any ideas 
> on how to get actual seconds for this?  Thanks.

Try the uclock function. Look up "info libc alpha uclock".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019