mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
stats: do not collect stats about reordering twice
This commit is contained in:
parent
3a14eacb3d
commit
1965b8810d
1 changed files with 1 additions and 3 deletions
|
@ -68,9 +68,7 @@ static int drop_read(struct hook *h, struct sample *smps[], unsigned *cnt)
|
|||
if (dist <= 0) {
|
||||
cur->flags |= SAMPLE_IS_REORDERED;
|
||||
|
||||
debug(10, "Reordered sample: sequence=%u, distance=%d", cur->sequence, dist);
|
||||
if (h->node && h->node->stats)
|
||||
stats_update(h->node->stats, STATS_REORDERED, dist);
|
||||
debug(10, "Dropping reordered sample: sequence=%u, distance=%d", cur->sequence, dist);
|
||||
}
|
||||
else
|
||||
goto ok;
|
||||
|
|
Loading…
Add table
Reference in a new issue