Smart and easy way to profile algorithms in C.