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.6 required=5.0 tests=BAYES_00,FROM_WORDY,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,13fc2380ffdd74da,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-22 00:30:26 PST From: "Vladimir Bednikov" Newsgroups: comp.lang.ada Subject: differences between ada95 using O32 and N32 on SGI's Date: Fri, 22 Jun 2001 16:47:21 +0930 Organization: Defence Science and Technology Organisation Message-ID: <9gurrd$inf$1@fang.dsto.defence.gov.au> NNTP-Posting-Host: n21-162.dsto.defence.gov.au X-Trace: fang.dsto.defence.gov.au 993194669 19183 131.185.21.162 (22 Jun 2001 07:24:29 GMT) X-Complaints-To: postmaster@dsto.defence.gov.au NNTP-Posting-Date: 22 Jun 2001 07:24:29 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news1.optus.net.au!optus!yorrell.saard.net!fang.dsto.defence.gov.au!not-for-mail Xref: archiver1.google.com comp.lang.ada:9023 Date: 2001-06-22T07:24:29+00:00 List-Id: Hi all, I have a program written in ada95 on an SGI (irix 6.2). The program ran in real-time when I was using the old O32 version of the compiler. Since installing the new version (N32) of the compiler, my program stopped running in real-time. I found the bottle neck in a call to retrieve an element of an array. This array is a member of a record as follows: type buffer_array is array (integer range <>) of real; type array_ptr is access buffer_array; type buffer_type is record next_index : integer; full : boolean; buffer : array_ptr; size : integer; end record; I am trying to implement a circular buffer with the above. 90% of the time was spent on retrieving an element of buffer. Using speedshop, I found that the actual time was spent on System__Secondary_Stack__SS_Release. Can anyone shed some light on this. Thanks in advance.