• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AU processor load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU processor load


  • Subject: Re: AU processor load
  • From: Walt <email@hidden>
  • Date: Mon, 26 Jan 2009 22:47:23 -0700

In your process frames code, record the system time on entry/exit. Starting with the second buffer processed, you know how much time you took to process buffer N-1, and can derive how much time was spent outside of your processing by looking at the exit time of the previous buffer.

HTH,

-Walt
----
On Jan 26, 2009, at 6:58 PM, Ethan Funk wrote:

Is there an easy way to track the processor load from with in a AU render callback? I am NOT using AUGraphs in my application and am instead using the callbacks to connect AUs, but I still need a way to gauge how much of the total available processor(s) time I am spending in the render callback chain so I can report processor load to the user.

Thanks,
Ethan...

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: AU processor load
      • From: Jens Alfke <email@hidden>
References: 
 >AU processor load (From: Ethan Funk <email@hidden>)

  • Prev by Date: AU processor load
  • Next by Date: Re: AU processor load
  • Previous by thread: AU processor load
  • Next by thread: Re: AU processor load
  • Index(es):
    • Date
    • Thread