On Linux Qt, Creator integrates with Valgrind's callgrind, which, alas, isn't available on Windows, so we have to look for other tools. Before we jump to the dedicated tools, let's discuss a very basic, little-known (as far as I can judge), but surprisingly effective, technique.
Profiling CPU usage
Poor man's sampling technique
I call that technique the poor man's sampling technique. It is really simple. In its most basic form, you run a program in a debugger, stop it several times, and examine the call stack of the randomly chosen breaks. The idea is (as with sampling profilers) that the most-used function will show most often in the stack trace. Simple as it is, this quick technique will sometimes...