flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jude <flexcapaci...@gmail.com>
Subject Is there a API for CPU usage of an app?
Date Thu, 10 Dec 2015 22:23:11 GMT
Is there a API for checking the CPU usage of my AIR app (or Flex)? It's
been suggested to check the FPS and see if they drop but that's not what
I'm looking for.

Background:
I was sitting with someone who was using an app I wrote and it was going
really slow. It was not a brand new computer. But I wanted to know if it
was my app. Because the laptop was in front of me I could open Task Manager
(PC) or Activity Monitor (Mac) and check but I'm not always going to have
that convenience. So if I'm able to check periodically my app CPU usage and
it is hitting 100% or more than a threshold I can, from within the app,
check what process is going on or what the activity the user is doing.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message