Harvard-REACT / WSR-Toolbox-cpp

Core C++ code repo for WSR toolbox with Cython wrapper.
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

Performance stats are not populated due to incorrect mac_id #1

Closed ninja-hu closed 3 years ago

ninja-hu commented 3 years ago

========= Trace ==============

"e_INFO_Performance": {
    "Forward_channel_packets": 0,
    "Packets_Used": 0,
    "Reverse_channel_packets": 2665,
    "first_forward-reverse_ts_offset(sec)": 0.0,
    "memory(GB)": 0.0,
    "time(sec)": 0.0
}

the values should be non-zero

ninja-hu commented 3 years ago

Fixed trace :

    "e_INFO_Performance": {
        "Forward_channel_packets": 1729,
        "Packets_Used": 297,
        "Reverse_channel_packets": 1403,
        "first_forward-reverse_ts_offset(sec)": 0.0003609657287597656,
        "memory(GB)": 6.498124,
        "time(sec)": 1.842458963394165
    }

The packet count is specific to a pair of RX and TX (specially in the multirobot case)