CPU usage of the application under test

Is there any way we can get cpu information with each application current cpu usage percentage?