Hey all,
I'm trying to get my patch installation ready and I'm seeing weird CPU spikes that seem to be unrelated to what is happening in the patch, I don't see any pattern, it just jumps to 100% once and a while, and stays there for longer and longer.
I don't think its a memory leak (anyhow I'm only using half my ram ATM).
Is there a way to do the OSX "shark" thing, to profile what functions are using all the CPU cycles so I can narrow down this issue?
I tried valgrind, but that seems really memory management stuff...
Thanks all. b.
On 5/12/06, B. Bogart ben@ekran.org wrote:
Is there a way to do the OSX "shark" thing, to profile what functions are using all the CPU cycles so I can narrow down this issue?
The closest equivalent to Shark is probably Intels vTune ($$$), but AMD makes a free profiler called Code Analyst which they offer for Windows and Linux. I use it on Windows and while it's not nearly as good as Shark, it does give you a better idea about what is going on. You don't need to do anything special to the profiled app.
On Fri, 2006-05-12 at 08:36 -0400, B. Bogart wrote:
I'm trying to get my patch installation ready and I'm seeing weird CPU spikes that seem to be unrelated to what is happening in the patch, I don't see any pattern, it just jumps to 100% once and a while, and stays there for longer and longer.
oprofile is a wonderful profiler for linux ...
t
-- TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
All we composers really have to work with is time and sound - and sometimes I'm not even sure about sound. Morton Feldman
Wah I don't know what any of these "events" are, what am I looking for in terms of CPU usage? (CPU_CLK_UNHALTED?)
Thanks Tim.
.b.
Tim Blechmann wrote:
On Fri, 2006-05-12 at 08:36 -0400, B. Bogart wrote:
I'm trying to get my patch installation ready and I'm seeing weird CPU spikes that seem to be unrelated to what is happening in the patch, I don't see any pattern, it just jumps to 100% once and a while, and stays there for longer and longer.
oprofile is a wonderful profiler for linux ...
t
-- TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
All we composers really have to work with is time and sound - and sometimes I'm not even sure about sound. Morton Feldman
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
On Fri, 2006-05-12 at 08:57 -0400, B. Bogart wrote:
Wah I don't know what any of these "events" are, what am I looking for in terms of CPU usage? (CPU_CLK_UNHALTED?)
to profile cpu usage, just use the defaults ...
t
-- TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
I must say I find television very educational. The minute somebody turns it on, I go to the library and read a good book. Groucho Marx