On Mon, 2003-12-01 at 12:49, Andrew de Quincey wrote:
Hi, the last thing I have to do with the profiling stuff is the trickiest: To decide what is the best way to determine the times.
It might be worth using oprofile, apparently in 2.6 at any rate it works well with Wine.
The problem is.. not all i386-derived CPUs support this feature. As far as I can see there are three ways of determining this. Which would people prefer?
IIRC there is an API call you can use, see dlls/kernel/cpu.c (i think, might be ntdll)
thanks -mike