summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/handle_lat.h
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2018-01-13 21:28:14 +0100
committerPatrice Buriez <patrice.buriez@intel.com>2018-02-15 21:22:03 +0100
commit9fa316261d7d9e79bcff84fb84ab498b9e7d93f4 (patch)
treef22e7715e48629faf56f8dc238974e489c30fe50 /VNFs/DPPD-PROX/handle_lat.h
parentaa09ff9157159b26c431ba61a6f0a08308d123dd (diff)
Fix latency accuracy and dumping latencies to file
- Also changed lat_info.tx_packet_index to uint64_t, so also did it for task_lat.prev_tx_packet_index and n_loss. - Adjusted format strings accordingly, and fixed some other formats. - Adjusted overflow increment to 2^32 (i.e. UINT32_MAX + 1). - Replaced hard-coded 64 with ACCURACY_BUFFER_SIZE (still hard-coded in handle_gen.c). Change-Id: Ia59f36e17c0797a2a958dbe3b2ac420263473524 Signed-off-by: Xavier Simonart <xavier.simonart@intel.com> Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/handle_lat.h')
-rw-r--r--VNFs/DPPD-PROX/handle_lat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/handle_lat.h b/VNFs/DPPD-PROX/handle_lat.h
index a832a641..3cc80461 100644
--- a/VNFs/DPPD-PROX/handle_lat.h
+++ b/VNFs/DPPD-PROX/handle_lat.h
@@ -24,7 +24,6 @@
#include "task_base.h"
#include "clock.h"
-#define MAX_PACKETS_FOR_LATENCY 64
#define LATENCY_ACCURACY 1
struct lat_test {