From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Thread: f43e6,703c4f68db81387d X-Google-Attributes: gid103376,gid115aec,gidf43e6,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!fr.ip.ndsoftware.net!nerim.net!usenet-fr.net!freenix!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Sender: obry@PASCAL Newsgroups: comp.lang.ada,comp.realtime,comp.software-eng Subject: Re: Teaching new tricks to an old dog (C++ -->Ada) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110032222.447846.167060@g14g2000cwa.googlegroups.com> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <112rs0bdr2aftdf@corp.supernews.com> <1inxxr988rxgg$.1w9dedak41k89.dlg@40tude.net> <112s1r0rf0o8nca@corp.supernews.com> <112sonip5v4dca6@corp.supernews.com> <112t3de6fu04f38@corp.supernews.com> <112u7undo5h2q0a@corp.supernews.com> <1110513620.359357.314400@l41g2000cwc.googlegroups.com> From: Pascal Obry Date: 11 Mar 2005 08:26:36 +0100 Message-ID: Organization: Home - http://www.obry.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 11 Mar 2005 08:26:39 CET NNTP-Posting-Host: 82.120.20.219 X-Trace: 1110525999 news.wanadoo.fr 19340 82.120.20.219:1165 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:9103 comp.realtime:1247 comp.software-eng:4815 Date: 2005-03-11T08:26:39+01:00 List-Id: "fabio de francesco" writes: > Pascal Obry wrote: > > > I get: > > > > $ time matrix 100 > > 270165 1061760 1453695 1856025 > > > > real 0m0.033s > > user 0m0.010s > > sys 0m0.020s > > > > $ time c_matrix 100 > > 270165 1061760 1453695 1856025 > > > > real 0m0.033s > > user 0m0.010s > > sys 0m0.010s > > I think you made a big mistake by thinking you had equal results for > matrix and c_matrix execution times. Don't look at "real" value, No I did not. This is under Windows/Cygwin, here only the real value is really meaningful and moreover the result here is the minimum found after 3 run. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.org --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595