delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/10/15:26:34

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
To: "bob brozewicz" <brozewicz DOT rf AT verizon DOT net>
CC: djgpp AT delorie DOT com
In-reply-to: <002b01c1c867$065c8d40$0fe9c997@robertjr>
(brozewicz DOT rf AT verizon DOT net)
Subject: Re: timing routines...
References: <002b01c1c867$065c8d40$0fe9c997 AT robertjr>
Message-Id: <E16k9rU-0002EH-00@fencepost.gnu.org>
From: Eli Zaretskii <eliz AT gnu DOT org>
Date: Sun, 10 Mar 2002 15:24:08 -0500
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "bob brozewicz" <brozewicz DOT rf AT verizon DOT net>
> Date: Sun, 10 Mar 2002 14:08:22 -0500
> 
> can someone please share with me a 'c' routine that can be used to
> display how long a program executes in hours/minutes/second and down
> to the lowest time possible.
> 
> i want to be able to time how long a program runs.

Try this:

    redir -t your-program.exe ...

(put any command-line arguments your program needs instead of the
"...").

`redir' is part of djdev203.zip, and should already be on your system.

- Raw text -


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