Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Alex Vinokur" Subject: Shell keyword 'time' and gcc -mno-cygwin Date: Wed, 29 Oct 2003 14:02:59 +0200 Lines: 184 Message-ID: X-Complaints-To: usenet AT sea DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 =================================== Windows 2000 Professional CYGWIN_NT-5.0 1.5.4(0.94/3/2) gcc version 3.3.1 (cygming special) =================================== I compiled some program with Cygwin and Mingw32 interfaces. $ g++ fib.cpp -o fib_cyg $ g++ fib.cpp -mno-cygwin -o fib_nmg $ time -p fib_cyg th 10000 > zzz real 0.48 user 0.44 sys 0.03 $ time -p fib_nmg th 10000 > zzz real 0.39 user 0.02 sys 0.04 We can see that user-time-used for executable file with Mingw32 interface is nearly equal 0. It seems that that is not in line with the reality. Any explanation? P.S. I think the problem doesn't depend on the specific program. Nevertheless the attachment contains the fib.cpp file. -- ===================================== Alex Vinokur mailto:alexvn AT connect DOT to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer ===================================== begin 666 fib.cpp M+R\@(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C M(PT*+R\@6T,K*UT AT 0V]M<'5T:6YG('9E"!6:6YO:W5R#0HO+R!H='1P.B\O=7 N=&\O86QE>'9N#0HO+R C(R,C M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C#0H-"B-I M;F-L=61E(#QS=&1L:6(N:#X-"B-I;F-L=61E(#QA2D@("@H>"D@/B H>2D@/R H M>"D AT DOT B H>2DI#0HC9&5F:6YE($%34T525"AX*0T*+R\@(V1E9FEN92!!4U-% M4E0H>"D@(" @87-S97)T*'@I#0H-"@T*(V1E9FEN92!-05A?54Y)5%]604Q5 M12 @*%5,3TY'7TU!6" ^/B R*0T*(V1E9FEN92!"05-%,2 @,3 -"B-D969I M;F4 AT 0D%313(@(#$P,# P,# P,# @(" O+R!"05-%,2 J*B H0D%313$@+2 Q M*0T*#0HC:68@*$)!4T4R(#X]($U!6%]53DE47U9!3%5%*0T*(V5R7!E9&5F('5NPT*9G)I96YD(&]S M=')E86TF(&]P97)A=&]R/#P@*&]S=')E86TF(&]S+"!C;VYS="!":6=);G0F M(&ENF4@/2!-05A?5D%,544@*&)I9S%?:2YU;FETF4H;6%X7W-I>F4I.PT*(" @(" @8FEG,E]I+G5N:71S7RYR M97-I>F4H;6%X7W-I>F4I.PT*(" @(" @=6YI='-?+G)E2 H*2D[ M#0H@(&9OPT*("!PF4@*"D[#0H- M"B @9F]R("AU:6YT(&D@/2!C=7)?PT*(" @('-W:71C:" H:2D-"B @("![#0H@(" @("!C87-E(# @.@T*(" @ M(" @("!F:6)S7RYP=7-H7V)A8VL@*$)I9TEN="@P*2D[#0H@(" @(" @(&)R M96%K.PT*#0H@(" @("!C87-E(#$@.@T*(" @(" @("!I9B H9FEBPT*;W-TPT*("!I9B H87)G8R \ M(#,I(')E='5R;B!S=')I;FPT*(" @ M('5S86=E("AAR -"B @("!&:6)O;F%C8VD AT 9FEB*$XI.PT*(" @(&9I M8BYS:&]W7V%L;%]N=6UB97)S*"D[( T*("!]#0H-"B @:68@*&]P=&EO;B ] M/2!42%]&24(I(" @#0H@('L@#0H@(" @1FEB;VYA8V-I(&9I8BA.*3L-"B @ M("!F:6(N%]R86YD7V9I8B ] M("AA%]R86YD7V9I @8BD[#0H@('T-"@T*("!R971U