[pypy-issue] [issue900] Using cProfile on Windows generates negative tottime values

Amaury Forgeot d Arc tracker at bugs.pypy.org
Tue Nov 1 20:49:57 CET 2011


Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:

On Windows you could use::
    DWORD mask = 1; // pin to processor #0
    SetProcessAffinityMask(GetCurrentProcess(), &mask);

----------
nosy: +afa

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue900>
________________________________________


More information about the pypy-issue mailing list