mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
simply drop messages from hist which are quite too late/early
git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@225 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
parent
248d940bd3
commit
112fbca28f
1 changed files with 1 additions and 5 deletions
|
@ -79,11 +79,7 @@ static void * path_run(void *arg)
|
|||
|
||||
p->received++;
|
||||
|
||||
if (HIST_SEQ/2 + lag >= HIST_SEQ)
|
||||
p->histogram[HIST_SEQ-1]++;
|
||||
else if (HIST_SEQ/2 + lag < 0)
|
||||
p->histogram[0]++;
|
||||
else
|
||||
if (HIST_SEQ/2 + lag < HIST_SEQ && HIST_SEQ/2 + lag >= 0)
|
||||
p->histogram[HIST_SEQ/2 + lag]++;
|
||||
|
||||
/** Check header fields */
|
||||
|
|
Loading…
Add table
Reference in a new issue