X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f To: "bob brozewicz" 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: From: Eli Zaretskii 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 Precedence: bulk > From: "bob brozewicz" > 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.