From: Simon Wright <simon@pushface.org>
Subject: Re: Need some light on using Ada or not
Date: Sun, 20 Feb 2011 22:47:05 +0000
Date: 2011-02-20T22:47:05+00:00 [thread overview]
Message-ID: <m21v322uja.fsf@pushface.org> (raw)
In-Reply-To: mcs2m6hv8hbkboqoeli3pbg29oj09slesu@4ax.com
Brian Drummond <brian_drummond@btconnect.com> writes:
> the 100% overhead (on this test case) imposed by the pthread library
> (which I think is how Gnat implements its tasking)
Here (Mac OS X, GCC 4.6.0 x86_64 experimental), I tried modifying the
Ada code to use the same tasking (threading) structure as the C GNU GCC
#5 version. Result (I only checked with parameter 16):
C: real 5.1 user 9.0
GNAT (orig): real 6.0 user 5.8
GNAT (mod): real 5.3 user 9.4
(the 'user' value, which is what time(1) reports, is apparently the
total CPU time, while the 'real' time is the elapsed time; this machine
has 2 cores, both it seems running at about 90% in the test).
next prev parent reply other threads:[~2011-02-20 22:47 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 22:52 Need some light on using Ada or not Luis P. Mendes
2011-02-18 23:58 ` Georg Bauhaus
2011-02-19 14:25 ` Simon Wright
2011-02-19 0:20 ` Edward Fish
2011-02-20 0:13 ` Luis P. Mendes
2011-02-20 1:36 ` Marc A. Criley
2011-02-20 9:59 ` mockturtle
2011-02-20 10:37 ` Brian Drummond
2011-02-20 11:08 ` Ludovic Brenta
2011-03-01 8:10 ` Adrian Hoe
2011-03-01 8:29 ` Thomas Løcke
2011-03-04 13:34 ` Adrian Hoe
2011-02-19 8:43 ` Vadim Godunko
2011-02-19 13:07 ` Brian Drummond
2011-02-19 14:17 ` Simon Wright
2011-02-19 18:02 ` Brian Drummond
2011-02-19 18:07 ` Bill Findlay
2011-02-20 10:42 ` Brian Drummond
2011-02-19 14:36 ` Georg Bauhaus
2011-02-19 18:25 ` Brian Drummond
2011-02-20 14:34 ` Brian Drummond
2011-02-20 15:45 ` jonathan
2011-02-20 16:18 ` Brian Drummond
2011-02-20 19:49 ` Pascal Obry
2011-02-20 19:57 ` Brian Drummond
2011-02-20 20:10 ` jonathan
2011-02-20 21:15 ` Pascal Obry
2011-02-20 21:26 ` Vinzent Hoefler
2011-02-20 21:33 ` Vinzent Hoefler
2011-02-20 21:36 ` Pascal Obry
2011-02-20 21:50 ` Vinzent Hoefler
2011-02-20 22:18 ` jonathan
2011-02-20 22:47 ` Simon Wright [this message]
2011-02-21 12:52 ` Brian Drummond
2011-02-21 13:44 ` Simon Wright
2011-02-24 0:19 ` Brian Drummond
2011-02-24 7:41 ` Jacob Sparre Andersen
2011-02-22 2:15 ` Shark8
2011-02-20 16:42 ` jonathan
2011-02-20 20:02 ` Brian Drummond
2011-02-20 0:20 ` Luis P. Mendes
2011-02-20 10:50 ` Brian Drummond
2011-02-20 19:54 ` Brian Drummond
2011-02-23 22:19 ` Luis P. Mendes
2011-02-24 17:06 ` Brian Drummond
2011-02-27 17:51 ` Luis P. Mendes
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox