From 0a9f8a9f249491a58d88f0c8580059fbf72a5cb9 Mon Sep 17 00:00:00 2001 From: Raymond Knopp <raymond.knopp@eurecom.fr> Date: Wed, 17 Dec 2014 13:52:27 +0000 Subject: [PATCH] Fixed issue in oaisim.c when compiling with PRINT_STATS=1 git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6278 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/SIMU/USER/oaisim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/SIMU/USER/oaisim.c b/targets/SIMU/USER/oaisim.c index cfb6d237a6..1eff02f49d 100644 --- a/targets/SIMU/USER/oaisim.c +++ b/targets/SIMU/USER/oaisim.c @@ -721,8 +721,8 @@ void *l2l1_task(void *args_p) { #ifdef PRINT_STATS if(last_slot==9 && frame%10==0) if(eNB_avg_thr) - fprintf(eNB_avg_thr,"%d %d\n",PHY_vars_eNB_g[eNB_inst]->proc[slot>>1].frame_tx, - (PHY_vars_eNB_g[eNB_inst]->total_system_throughput)/((PHY_vars_eNB_g[eNB_inst]->proc[slot>>1].frame_tx+1)*10)); + fprintf(eNB_avg_thr,"%d %d\n",PHY_vars_eNB_g[eNB_inst][0]->proc[slot>>1].frame_tx, + (PHY_vars_eNB_g[eNB_inst][0]->total_system_throughput)/((PHY_vars_eNB_g[eNB_inst][0]->proc[slot>>1].frame_tx+1)*10)); if (eNB_stats[eNB_inst]) { len = dump_eNB_stats(PHY_vars_eNB_g[eNB_inst][0], stats_buffer, 0); rewind (eNB_stats[eNB_inst]); -- GitLab