classification
Title: Use _PyTime_GetPerfCounter() in lsprof
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.8
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: inada.naoki, vstinner
Priority: normal Keywords: patch

Created on 2019-04-09 13:35 by inada.naoki, last changed 2019-04-11 10:12 by inada.naoki. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 8378 merged inada.naoki, 2019-04-09 13:35
Messages (2)
msg339747 - (view) Author: Inada Naoki (inada.naoki) * (Python committer) Date: 2019-04-09 13:35
Current lsprof uses `gettimeofday` on non-Windows.
_PyTime_GetPerfCounter() is better time for profiling.
msg339953 - (view) Author: Inada Naoki (inada.naoki) * (Python committer) Date: 2019-04-11 10:11
New changeset 536a35b3f14888999f1ffa5be7239d0c26b73d7a by Inada Naoki in branch 'master':
bpo-36575: lsprof: Use _PyTime_GetPerfCounter() (GH-8378)
https://github.com/python/cpython/commit/536a35b3f14888999f1ffa5be7239d0c26b73d7a
History
Date User Action Args
2019-04-11 10:12:13inada.naokisetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-04-11 10:11:49inada.naokisetmessages: + msg339953
2019-04-09 14:08:02xtreaksetnosy: + vstinner
2019-04-09 13:35:59inada.naokisetkeywords: + patch
stage: patch review
pull_requests: + pull_request12670
2019-04-09 13:35:46inada.naokicreate