From ae25c88372d609115afad1c23e573583a814ee1d Mon Sep 17 00:00:00 2001
From: Laurent <laurent.thomas@open-cells.com>
Date: Thu, 17 Oct 2019 16:38:08 +0200
Subject: [PATCH] flush traces

---
 executables/main-fs6.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/executables/main-fs6.c b/executables/main-fs6.c
index 42cd146ee2..60dbf0014a 100644
--- a/executables/main-fs6.c
+++ b/executables/main-fs6.c
@@ -1381,8 +1381,12 @@ void phy_procedures_eNB_TX_tosplit(uint8_t *bufferZone, PHY_VARS_eNB *eNB, L1_rx
 void DL_du_fs6(RU_t *ru) {
   for (int i=0; i<ru->num_eNB; i++) {
     initBufferZone(bufferZone);
+    initStaticTime(begingWait);
+    initRefTimes(fullLoop);
+    pickStaticTime(begingWait);
     int nb_blocks=receiveSubFrame(&sockFS6, bufferZone, sizeof(bufferZone), CTsentCUv0 );
-
+    updateTimesReset(begingWait, &fullLoop, 1000, false, "DU wait CU");
+ 
     if (nb_blocks > 0) {
       L1_proc_t *L1_proc = &ru->eNB_list[i]->proc;
 
-- 
2.26.2