Added performance profiler

This commit is contained in:
Mark Qvist 2024-09-15 15:12:53 +02:00
parent 2329181c88
commit 8d61ee8a81
2 changed files with 121 additions and 0 deletions

View file

@ -160,6 +160,9 @@ class Reticulum:
RNS.Transport.exit_handler()
RNS.Identity.exit_handler()
if RNS.profiler_ran:
RNS.profiler_results()
@staticmethod
def sigint_handler(signal, frame):
RNS.Transport.detach_interfaces()