I've just recently opened the pandora's box that is tkprof, as soon as I get a grasp of it, I plan to write about it in this space. Actually reading that link, along with the official documentation, will give you a pretty good idea on how to use it.

Now if only I could get a grasp on this problem.