comp.lang.ada
 help / color / mirror / Atom feed
From: "Vladimir Bednikov" <Vladimir.Bednikov@ebor.com>
Subject: differences between ada95 using O32 and N32 on SGI's
Date: Fri, 22 Jun 2001 16:47:21 +0930
Date: 2001-06-22T07:24:29+00:00	[thread overview]
Message-ID: <9gurrd$inf$1@fang.dsto.defence.gov.au> (raw)

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.





             reply	other threads:[~2001-06-22  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-22  7:17 Vladimir Bednikov [this message]
2001-06-22 17:13 ` differences between ada95 using O32 and N32 on SGI's Mark Lundquist
2001-06-27  0:50   ` Vladimir Bednikov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox