mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-06 05:24:50 -04:00
Added performance profiler
This commit is contained in:
parent
2329181c88
commit
8d61ee8a81
2 changed files with 121 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue