mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fix stale comment
This commit is contained in:
parent
fbfe4d6fb6
commit
c055fb337b
@ -30,8 +30,6 @@ impl ThroughputTracker {
|
|||||||
|
|
||||||
pub(crate) fn copy_previous_and_reset_rtt(&self) {
|
pub(crate) fn copy_previous_and_reset_rtt(&self) {
|
||||||
// Copy previous byte/packet numbers and reset RTT data
|
// Copy previous byte/packet numbers and reset RTT data
|
||||||
// We're using Rayon's "par_iter_mut" to spread the operation across
|
|
||||||
// all CPU cores.
|
|
||||||
let self_cycle = self.cycle.load(std::sync::atomic::Ordering::Relaxed);
|
let self_cycle = self.cycle.load(std::sync::atomic::Ordering::Relaxed);
|
||||||
self.raw_data.iter_mut().for_each(|mut v| {
|
self.raw_data.iter_mut().for_each(|mut v| {
|
||||||
if v.first_cycle < self_cycle {
|
if v.first_cycle < self_cycle {
|
||||||
|
Loading…
Reference in New Issue
Block a user