Add API to report I/O Latency

This commit is contained in:
Robin Gareus 2021-09-08 21:45:16 +02:00
parent f301e692a7
commit 6199d08f71
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 8 additions and 0 deletions

View file

@ -12,6 +12,7 @@ function factory () return function ()
print ("Worst Input Latency: ", Session:worst_input_latency ())
print ("Worst Track Latency: ", Session:worst_route_latency ())
print ("Worst Latency Preroll: ", Session:worst_latency_preroll ())
print ("I/O Latency: ", Session:io_latency ())
print (" -- Routes --")
for t in Session:get_routes ():iter () do