Question about simple profiling implementation

Mike Hearn mike at theoretic.com
Mon Dec 1 14:16:23 CST 2003


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





More information about the wine-devel mailing list