more fix for dlsim_tm7
This commit is contained in:
@@ -2046,7 +2046,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
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[1]=0;
|
||||
errs[2]=0;
|
||||
@@ -3770,7 +3770,7 @@ PMI_FEEDBACK:
|
||||
//len = chbch_stats_read(stats_buffer,NULL,0,4096);
|
||||
//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;
|
||||
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);
|
||||
@@ -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,
|
||||
* get the max, min, and number of packets that exceed t>2000us
|
||||
|
||||
Reference in New Issue
Block a user