Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: Initially the time module was a thin wrapper around C and OS time-related functions. It may be confusing that the behavior of time.clock() differs from the behavior of C's clock().
The documentation for clock() on MSDN suggests to use GetProcessTimes() for the behavior conforming the C standard. https://msdn.microsoft.com/en-us/library/4e2ess30.aspx ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31803> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com