Re: Correct API to implement a timer in a real-time thread
Re: Correct API to implement a timer in a real-time thread
- Subject: Re: Correct API to implement a timer in a real-time thread
- From: Jeff Moore <email@hidden>
- Date: Fri, 6 Jan 2006 10:07:41 -0800
Since you have no idea where the spike comes from, I would not rule
out the possibility that it has nothing to do with this code. Shark
is going to pretty much going to be the only way to track down what's
going on. One thing you might need to do is to edit the profile so
that it is sampling more often. I often adjust the sampling down to
every hundred microseconds or so when I'm looking for fine grained
problems.
On Jan 6, 2006, at 1:16 AM, Stéphane Letz wrote:
I get strange CPU spike on Panther: average CPU is 0.5% then every
2 or 3 minutes i get a CPU spike up yo 80% during several
seconds.... but the exact same code works without problems on Tiger
(on the same machine)
I tried to "capture/profile" the CPU spike without real success....
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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