ce200e6a4a
The former version was problematic because: - time.perf_counter() returns seconds relative to an arbitrary point in time (monotonic clock) - time.mktime() converts to epoch time (seconds since 1970) Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Reviewed-by: Sergi Blanch Torne <sergi.blanch.torne@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33750>