n Jun 18, 2009, at 10:46 PM, interim_descriptor wrote:
Thanks for wiki-ing that up, syn-pat!
I've got an implementation for OSX LGL_ThreadSetPriority() in svn. It
may not be 100% correct, but I think it'll give correct relative
priorities, which is the important part. Do you know a good way to
check a process' priority from bash in osx? In linux, I usually used
htop.
For UI tools:
/Applications/Utilities/Activity Monitor.app is the broad one
/Developer/Applications/Performance Tools/ has more granular
introspection
CLI:
There's a wide variety of dtrace stuff for this, but you should grab:
http://www.brendangregg.com/DTraceToolkit-0.99.tar.gz
there's some nifty ones in there like
pridist.d (priority distribution, samples over time generates nifty
ascii graph)
priclass.d
etc
Let's see... what else... The low-pitch buzzing is gone! That was my
fault: I was writing a variable that, when LGL_JackInit() succeeded,
remained uninitialized, to the audio output buffer to clear it (oops).
ohhh awesome. good one!
OK... Next up, I'm going to take on the crash in ffmpeg, when I try to
load Zebbler's Verminator.mov...
Shout out if you're working on anything at the moment... Were you ever
able to get your ffmpeg to decode an mp3...?
yeah, I'm decoding now. I need to svn update and give it a go. I'm off
to bed (long day), and will hit this again in the evening tomorrow.
Great progress!
-sp