Re: Q; How to determine memory allocation for a given scene?

New Message Reply Date view Thread view Subject view Author view

Sharon Clay (src++at++rose.asd.sgi.com)
Fri, 31 Jan 1997 03:42:40 -0800


+>---- On Jan 31, 10:44am, Mark Baranowski wrote:
> Subject: Q; How to determine memory allocation for a given scene?
->From: Mark Baranowski <baranowski++at++marklynn.demon.co.uk>
->
->
->Is there an easy way to determine the amount of memory required by a
->given scene graph? or will I have to write a traverser and use
->pfGetSize on everything I can lay my hands on?
->
->(Anybody already done this?)
->
->A quick response would be greatly appreciated.
->

You can use amallinfo() to get the allocation in the shared arena.
So, you can call amallinfo() before and after you load your scene
and look at how much you grew.

src.

-- 
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com  (415) 933 - 1002  FAX: (415) 965 - 2658  MS 8U-590
-----{-----{---++at++   -----{----{---++at++   -----{----{---++at++   -----{----{---++at++
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.