Function get_row

Source
fn get_row(
    result: Reply,
    rx_worker_id: u32,
    m_type: u8,
    is_symmetric: bool,
    worker_map: BiHashMap<u32, String>,
) -> Vec<String>
Expand description

Get the result (csv row) from a Reply message

§Arguments

  • result - The Reply that is being written to this row

  • rx_worker_id - The worker ID of the receiver

  • m_type - The type of measurement being performed

  • is_symmetric - A boolean that determines whether the measurement is symmetric (i.e., sender == receiver is always true)

  • worker_map - A map of worker IDs to hostnames, used to convert worker IDs to hostnames in the results

§Returns

A vector of strings representing the row in the CSV file