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.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e3613319caa06b62 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed0.kamp.net!newsfeed.kamp.net!213.239.142.2.MISMATCH!border-1.ams.xsnews.nl!feed.xsnews.nl!border-2.ams.xsnews.nl!88.191.45.6.MISMATCH!news.netfinity.fr!club-internet.fr!feedme-small.clubint.net!fdn.fr!news.wanadoo.fr!news.wanadoo.fr!not-for-mail From: "frank singhoff" Newsgroups: comp.lang.ada References: <469f2c81$0$25909$ba4acef3@news.orange.fr> Subject: Re: how to get the compile time of an ada program with gnat Date: Thu, 19 Jul 2007 23:25:11 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Message-ID: <469fd6b7$0$5082$ba4acef3@news.orange.fr> Organization: les newsgroups par Orange NNTP-Posting-Date: 19 Jul 2007 23:25:11 CEST NNTP-Posting-Host: 86.199.91.238 X-Trace: 1184880311 news.orange.fr 5082 86.199.91.238:3773 X-Complaints-To: abuse@orange.fr Xref: g2news1.google.com comp.lang.ada:16520 Date: 2007-07-19T23:25:11+02:00 List-Id: thanks to jerome and to "anon" for their response !! and see you soon jerome frank "anon" a �crit dans le message de news: jANni.333995$p47.199692@bgtnsc04-news.ops.worldnet.att.net... > The best way is to use the GNAT1. The program is included in the gnat > standard package. It is the build compiler that gnat uses to build the > new or updated gnat system and includes a list of tech information after > each run. Tech output file is "Standard Error". The thing is the output > code is two files the first is the ".ali" file and a source assembly file. > Then you must use an assembler or use "gcc -c" to gen the object > module. > > An Example: > > gnat compile sample.adb => gnat1 sample.adb => gcc -c sample.s > > another example that produces a listing is: > > gnat compile example.adb -gnatl > use > gnat1 -gnatl example.adb > gcc -c example.s > > > Example of the output: > > For a program called compile.adb. Using > > gnat1 compile.adb > > The output look like this : > > compile compile___clean compile__L_1__B11b___clean > compile__L_1__B16b___clean compile__L_1__B27b___clean > compile__L_1__B44b___clean > time in parse: 0.850000 > time in integration: 0.000000 > time in jump: 0.000000 > time in cse: 0.000000 > time in loop: 0.000000 > time in cse2: 0.000000 > time in branch-prob: 0.000000 > time in flow: 0.010000 > time in combine: 0.000000 > time in sched: 0.000000 > time in local-alloc: 0.000000 > time in global-alloc: 0.050000 > time in sched2: 0.000000 > time in dbranch: 0.000000 > time in shorten-branch: 0.000000 > time in stack-reg: 0.000000 > time in final: 0.020000 > time in varconst: 0.010000 > time in symout: 0.000000 > time in dump: 0.000000 > > > > > > In <469f2c81$0$25909$ba4acef3@news.orange.fr>, "frank singhoff" > writes: >> >> >>hello the list, >> >>does somebody know how we can get the compile time of an >> ada program compiled with gnat gpl ?? >> >>is these an ada gnat package which provides such a service, or should i do >>it >>which a script/makefile .... >> >> >>thanks very much ! >> >>frank ... who is waiting for the sun at brest :-(( >> >> >> >> >> >> >> >