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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Simplest Ada program Date: Mon, 21 Nov 2016 15:57:44 +0100 Organization: A noiseless patient Spider Message-ID: References: Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 21 Nov 2016 14:57:10 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="8fca5b85a8f4be6f0c23e518a39a42c3"; logging-data="21053"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZeT6fn8RhcAS0XifRoYTECQsIiSfnwOU=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Cancel-Lock: sha1:xGsYzHNCzDUUMATqnmdlmXXGL7Y= Xref: news.eternal-september.org comp.lang.ada:32397 Date: 2016-11-21T15:57:44+01:00 List-Id: On 21.11.16 15:41, Dmitry A. Kazakov wrote: > On 21/11/2016 12:38, Mr. Man-wai Chang wrote: >> On 21/11/2016 5:17 PM, Dmitry A. Kazakov wrote: >>> OS loader/linker time >>> + Ada run-time elaboration time >>> + 0 execution time >>> + Ada run-time finalization time >>> + OS finalization time >> >> So the linker of your Ada compiler can predict execution time of an Ada >> program? > > Loader is a part of OS. E.g. ld under Linux. Consequently, when more control over run-time requirements is possible, such as when bootstrapping a statically bound sequential program that does nothing, then the only time it takes is placing the program where it becomes ready for executing its 0 instructions...