mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-26 07:59:36 -05:00
Updated link test
This commit is contained in:
parent
be6910e4e0
commit
a4b80e7ddb
@ -229,6 +229,7 @@ def resource_profiling():
|
|||||||
t = time.time() - start
|
t = time.time() - start
|
||||||
print("Resource completed at "+size_str(resource_size/t, "b")+"ps")
|
print("Resource completed at "+size_str(resource_size/t, "b")+"ps")
|
||||||
|
|
||||||
|
if hasattr(resource.link.attached_interface, "rxptime"):
|
||||||
rx_pr = (resource.link.attached_interface.rxb*8)/resource.link.attached_interface.rxptime
|
rx_pr = (resource.link.attached_interface.rxb*8)/resource.link.attached_interface.rxptime
|
||||||
print("Average RX proccessing rate: "+size_str(rx_pr, "b")+"ps")
|
print("Average RX proccessing rate: "+size_str(rx_pr, "b")+"ps")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user