flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Taylor <ja...@dedoose.com>
Subject RE: Is there a API for CPU usage of an app?
Date Fri, 11 Dec 2015 19:11:22 GMT
you don't need to run in debug mode to use advanced telemetry and/or scout, you just need to
compile with that turned on.

-----Original Message-----
From: jude [mailto:flexcapacitor@gmail.com] 
Sent: Thursday, December 10, 2015 6:41 PM
To: dev
Subject: Re: Is there a API for CPU usage of an app?

Scout is more for developers when you have access to the running instance.
I'm looking for something the customer can use at runtime on a non debug instance.

I found this mysterious property while I was looking for memory usage in


But I can't find any documentation on it and it returns 0. I think I can write a pretty efficient
app but zero CPU is just wishful thinking.

On Thu, Dec 10, 2015 at 5:46 PM, Jason Taylor <jason@dedoose.com> wrote:

> isn't that what Scout is for?  turn on advanced telemetry and pop open 
> adobe scout
> -----Original Message-----
> From: Alex Harui [mailto:aharui@adobe.com]
> Sent: Thursday, December 10, 2015 3:49 PM
> To: dev@flex.apache.org
> Subject: Re: Is there a API for CPU usage of an app?
> I don't know of any way to get that from Flash.
> On 12/10/15, 2:23 PM, "jude" <flexcapacitor@gmail.com> wrote:
> >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.
View raw message