CPU Usage, how to

One quick question, and apologizes if this has been mentioned before, but how do you find out how much CPU usage the .swf file is using when its running? I know how to calculate the actual frames per second, but not CPU, which is also very vital.

Any help would be great, thanks