comp.lang.ada
 help / color / mirror / Atom feed
* differences between ada95 using O32 and N32 on SGI's
@ 2001-06-22  7:17 Vladimir Bednikov
  2001-06-22 17:13 ` Mark Lundquist
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Bednikov @ 2001-06-22  7:17 UTC (permalink / 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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-27  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-22  7:17 differences between ada95 using O32 and N32 on SGI's Vladimir Bednikov
2001-06-22 17:13 ` Mark Lundquist
2001-06-27  0:50   ` Vladimir Bednikov

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