Hi,
I have written a lightweight profiler, written in pure C, to highlight costs
in C & C++ programs. It profiles both debug- and release builds. It can be
found here:
http://www.2dgame-tutorial.com/sdl/profile.htm
I only have Windows, but I checked for compatibility of functions that I
use, so it should work
on other systems without much trouble.
Kind regards,
Patrick.