http://www.codersnotes.com/sleepy/
Very Sleepy’s HP. GPLed source code is available.
http://sleepy.sourceforge.net/
Sleepy’s HP. Very Sleepy is based on the source code of Sleepy. Apparently Sleepy was written by Nick Chapman, author of the Indigo Renderer.
I learned about Very Sleepy a little while back on Twitter and people seemed pretty positive about it. I would have liked to use VTune, but it’s not free and I haven’t tried AMD CodeAnalyst yet because my CPU is Intel (though I should give it a try.)

Here’s what my multithreaded smallpt’s Very Sleepy profiling result looks like. Very Sleepy supports profiling multiple threads. Every thread of my mulithreaded smallpt should be doing the same work (calculating the path’s radiance), and the above is the profiling result on one of my threads. From the profile, you can see that the intersect function is taking up around 36% of total CPU time with the ray-sphere intersection calculation eating up around 31% of total CPU time. The ZwDelayExecution eating up 9% of total CPU time is probably DXUT calling Sleep because the app has lost focus (forgot to comment the call out…)
Very Sleepy samples the EIP register to measure in which parts of the code, the program is spending its time in, and doesn’t give as much info as other more complex profilers, but it’s quick, easy to use and seems like a pretty handy tool. I find it nice that it’s open source too.
EDIT
http://www.butamanrenderer.com/2010/08/22/very-sleepy-profiling-again/
Woke up the next day and re-profiled with the DXUT Sleep call removed.
Very Sleepy Profiler
August 21st, 2010 § 0 comments