>
> On Maw, 2003-08-12 at 11:57, Thomas David Rivers wrote:
> >  Some versions of gcc don't do well with locality-of-reference
> >  for functions that reference many "literals."  There is a global
> >  pool of literals which can be "far away."  This approach could
> >  easily artificially inflate the working set size.
>
> gprof will generate you call graphs on a binary and a function list
> thats then pretty close to best locality when you relink it
>

 On a per-function basis - but not within functions; because
 gcc points R13 at the literal pool; which can be quite large
 (and different from the code location in sufficiently large
 functions.)

        - Dave R. -

--
[EMAIL PROTECTED]                        Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com

Reply via email to