X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Alex Vinokur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Microsoft clock() Date: Sat, 10 Jul 2004 09:21:08 +0300 Lines: 38 Message-ID: <2l9g6pFaatchU1@uni-berlin.de> References: <2l4majF8iuhdU1 AT uni-berlin DOT de> <7tkse09qsl5m3v51d5rhotn98hnmb80i2n AT 4ax DOT com> <2l78r4F9essnU1 AT uni-berlin DOT de> X-Trace: news.uni-berlin.de ZwCPFv1dWKDz8glxx+e3wg83lkQFoyBogxKut2lUx/PH19bR4= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Andrew Cottrell" wrote in message news:gchue0ltnuf6u9se226ufmg7opdku66u8k AT 4ax DOT com... > >> In summary:- > >> 1) You did not indicate which version of the DJGPP LIBC you are using. > >> This makes a BIG difference on 2K. > > > >DJGPP 2.03 > >gpp 3.3.2 > > Then you DO need to go and do some reading and upgrading. > > Andrew After upgrading via http://www.delorie.com/djgpp I have the following versions: DJGPP 2.03 gpp 3.3.4 Test program (see http://groups.google.com/groups?selm=2l4majF8iuhdU1%40uni-berlin.de) gives the same results: clock() is not actually different from time(). time : start = 1089451066 sec, end = 1089451069 sec time : elapsed (wall clock) time = 3 sec clock : start = 0 ticks, end = 275 ticks clock : cumulative processor time = 3.02198 sec -- Alex Vinokur http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn