A small profiler for C programs