Skip to content
Snippets Groups Projects
Commit d3805f84 authored by Saif Eddine Askri's avatar Saif Eddine Askri
Browse files

Clear latency records after calculating average latency to prevent data accumulation

parent d19fb230
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ void calculate_average_latency() {
}
double average_latency = sum / latencies.size();
std::cout << "Average latency: " << average_latency << " ms" << std::endl;
//latencies.clear();
latencies.clear();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment