Couldn`t find any ActionScript native APIs even in the beta documentation, am I right supposing that this means the only way to measure CPU / memory consumption is by cooking up a custom native solution, hooking it up with AIR and making it work on each targeted platform?
Basically the aim is to be able to have this information available inside AIR and not having to use an external application for profiling, not even Flex / Flash builder.
Thanks for the helpful answers, System.totalMemory sneakily eluded me!
Seems for the CPU load the only solution will be some command line scraping using NativeProcess.
you can measure the memory consumption like this:
if you google for “as3 fps” you will find a lot of sites discussing how to measure the actual framerate.
but i don’t think you can find out the cpu consumption of your flash app without outside help.