diff options
-rw-r--r-- | VNFs/DPPD-PROX/handle_lat.c | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/stats_latency.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/handle_lat.c b/VNFs/DPPD-PROX/handle_lat.c index c7a45b60..93652d47 100644 --- a/VNFs/DPPD-PROX/handle_lat.c +++ b/VNFs/DPPD-PROX/handle_lat.c @@ -774,6 +774,8 @@ static void init_task_lat(struct task_base *tbase, struct task_args *targ) } } + task->lt[0].min_lat = -1; + task->lt[1].min_lat = -1; task->lt[0].bucket_size = targ->bucket_size - LATENCY_ACCURACY; task->lt[1].bucket_size = targ->bucket_size - LATENCY_ACCURACY; if (task->unique_id_pos) { diff --git a/VNFs/DPPD-PROX/stats_latency.c b/VNFs/DPPD-PROX/stats_latency.c index 52027892..59d00580 100644 --- a/VNFs/DPPD-PROX/stats_latency.c +++ b/VNFs/DPPD-PROX/stats_latency.c @@ -142,6 +142,7 @@ static void stats_latency_add_task(struct lcore_cfg *lconf, struct task_args *ta new_entry->task = (struct task_lat *)targ->tbase; new_entry->lcore_id = lconf->id; new_entry->task_id = targ->id; + new_entry->tot_lat_test.min_lat = -1; slm->n_latency++; } |