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

New Message Reply Date view Thread view Subject view Author view

Mark Baranowski (baranowski++at++marklynn.demon.co.uk)
Fri, 31 Jan 1997 12:11:20 GMT


On Fri, 31 Jan 1997 03:42:40 -0800, Sharon wrote:
>+>---- 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.
>

*THANK YOU* Sharon.

Mark.

-- 
Mark Baranowski at work (baranowski++at++marklynn.demon.co.uk)
Pera, VR Division. Melton Mowbray, Leics. LE13 0PB. UK.
Tel: +44 1664 501501, Fax: +44 1664 501553
All opinions expressed are my own and should not be viewed
as representing my employer unless stated otherwise.
===================================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.