[GITLAB] - UPGRADE TO v12 on Wednesday the 18th of December at 11.30AM

Commit 2ed9a48d authored by Cedric Roux's avatar Cedric Roux

more fix for dlsim_tm7

parent 5917cdaf
...@@ -2046,7 +2046,7 @@ int main(int argc, char **argv) ...@@ -2046,7 +2046,7 @@ int main(int argc, char **argv)
} }
for (SNR=snr0; SNR<snr1; SNR+=snr_step) { for (SNR=snr0; SNR<snr1; SNR+=snr_step) {
UE->proc.proc_rxtx[subframe&1].frame_rx=0; UE->proc.proc_rxtx[UE->current_thread_id[subframe]].frame_rx=0;
errs[0]=0; errs[0]=0;
errs[1]=0; errs[1]=0;
errs[2]=0; errs[2]=0;
...@@ -3770,7 +3770,7 @@ PMI_FEEDBACK: ...@@ -3770,7 +3770,7 @@ PMI_FEEDBACK:
//len = chbch_stats_read(stats_buffer,NULL,0,4096); //len = chbch_stats_read(stats_buffer,NULL,0,4096);
//printf("%s\n\n",stats_buffer); //printf("%s\n\n",stats_buffer);
if (UE->proc.proc_rxtx[subframe&1].frame_rx % 10 == 0) { if (UE->proc.proc_rxtx[UE->current_thread_id[subframe]].frame_rx % 10 == 0) {
UE->bitrate[eNB_id] = (UE->total_TBS[eNB_id] - UE->total_TBS_last[eNB_id])*10; UE->bitrate[eNB_id] = (UE->total_TBS[eNB_id] - UE->total_TBS_last[eNB_id])*10;
LOG_D(PHY,"[UE %d] Calculating bitrate: total_TBS = %d, total_TBS_last = %d, bitrate = %d kbits/s\n",UE->Mod_id,UE->total_TBS[eNB_id],UE->total_TBS_last[eNB_id], LOG_D(PHY,"[UE %d] Calculating bitrate: total_TBS = %d, total_TBS_last = %d, bitrate = %d kbits/s\n",UE->Mod_id,UE->total_TBS[eNB_id],UE->total_TBS_last[eNB_id],
UE->bitrate[eNB_id]/1000); UE->bitrate[eNB_id]/1000);
...@@ -3778,7 +3778,7 @@ PMI_FEEDBACK: ...@@ -3778,7 +3778,7 @@ PMI_FEEDBACK:
} }
UE->proc.proc_rxtx[subframe&1].frame_rx++; UE->proc.proc_rxtx[UE->current_thread_id[subframe]].frame_rx++;
/* calculate the total processing time for each packet, /* calculate the total processing time for each packet,
* get the max, min, and number of packets that exceed t>2000us * get the max, min, and number of packets that exceed t>2000us
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment