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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,13fc2380ffdd74da X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-22 10:13:31 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.sttls1.wa.home.com.POSTED!not-for-mail From: "Mark Lundquist" Newsgroups: comp.lang.ada References: <9gurrd$inf$1@fang.dsto.defence.gov.au> Subject: Re: differences between ada95 using O32 and N32 on SGI's X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Message-ID: <%0LY6.225132$p33.4526532@news1.sttls1.wa.home.com> Date: Fri, 22 Jun 2001 17:13:31 GMT NNTP-Posting-Host: 24.20.66.39 X-Complaints-To: abuse@home.net X-Trace: news1.sttls1.wa.home.com 993230011 24.20.66.39 (Fri, 22 Jun 2001 10:13:31 PDT) NNTP-Posting-Date: Fri, 22 Jun 2001 10:13:31 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:9035 Date: 2001-06-22T17:13:31+00:00 List-Id: Talk to your compiler vendor! :-) Your question is an implementation-specific one. You didn't even specify what compiler you're using. But in any case, it's probably a technical support question for them -- I'd be suprised if anyone on c.l.a. can offer any insight... But good luck! -- mark "Vladimir Bednikov" wrote in message news:9gurrd$inf$1@fang.dsto.defence.gov.au...> 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. > >