delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/06/18/06:59:18

From: Ulrich DOT Lauther AT mchp DOT siemens DOT de (Ulrich Lauther)
Subject: how to measure times?
18 Jun 1997 06:59:18 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199706181312.PAA20197.cygnus.gnu-win32@gomory.mchp.siemens.de>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: ELM [version 2.4ME+ PL28s (25)]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Under Windows 95, gnuwin32/b18, both getrusage and times seem to deliver
random values.
gettimeofday works, but gives of course wall clock time.

Is there a way to measure cpu-time?

BTW, bashes time command also gives elapsed time only.
-- 
	-lauther

----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens ZT AN 1         Internet: Ulrich DOT Lauther AT mchp DOT siemens DOT de
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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