We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
time.perf_counter_ns
time.time_ns
1 parent 79cebda commit aeba507Copy full SHA for aeba507
python/triton/testing.py
@@ -54,7 +54,7 @@ def __init__(self, **kwargs):
54
self.record()
55
56
def record(self):
57
- self.timestamp = time.time_ns() / 1_000_000
+ self.timestamp = time.perf_counter_ns() / 1_000_000
58
59
def elapsed_time(self, end):
60
return end.timestamp - self.timestamp
0 commit comments