Message 88006 - Python tracker (original) (raw)

Attached is yet another version of the Modules/_lsprof.c source, called _lsprof4.c.

This one adds support for the hires timer on 32- and 64-bit Intel and PowerPC processors iff compiled with GNU C.

With _lsprof4.c, the high precision profile is available on Linux, Mac OS X, Solaris, HP-UX and MS Windows.

Included is the forward diff with _lsprof.c rev 66700 from the trunk.
The changes are only at the very top and in the initialization function at the bottom.