ResourceMonitor v2 = ResourceMonitorUtil [updated to 2.1]



10 Comments

Share




UPD: i’ve updated the class to version 2.1, fixed some bugs, added new features, switched the license to MIT !


yellow – current fps
cyan – current memory usage
red – max memory usage graph

As lots of you asked me to add some new features like the font color changing, performance increasement etc, i decided to make a new version of the ResourceMonitor class. I’ve added a few new features, made the code more ammm more readable (well, it’s an os class, so probably u’d like to edit smth there) and i’ve even made a documentation this time :)
And i also decided to rename it to ResourceMonitorUtil.

Class usage also has shorten.

Flex:


import com.chargedweb.utils.ResourceMonitorUtil;

rawChildren.addChild(new ResourceMonitorUtil());

Flash:


import com.chargedweb.utils.ResourceMonitorUtil;

addChild(new ResourceMonitorUtil());

Blah-blah-blah, just let me download the ResourceMonitorUtil source code already

Read more

ResourceMonitor class {as3.0}



6 Comments

Share




ResourceMonitor is an as3 class, which monitors your fp resource usage (ram, cpu, frameRate).
Benefits: one *.as file, no external files needed – just import and create instace.

Download source files

UPDATE: Check out the new v2 ResourceMonitorUtil class

Read more