Added L1 stats to softmodem
This commit is contained in:
committed by
Sakthivel Velumani
parent
dc65173b69
commit
8656b12210
@@ -323,18 +323,22 @@ static void *process_stats_thread(void *param) {
|
|||||||
|
|
||||||
PHY_VARS_gNB *gNB = (PHY_VARS_gNB *)param;
|
PHY_VARS_gNB *gNB = (PHY_VARS_gNB *)param;
|
||||||
|
|
||||||
|
reset_meas(&gNB->phy_proc_tx);
|
||||||
reset_meas(&gNB->dlsch_encoding_stats);
|
reset_meas(&gNB->dlsch_encoding_stats);
|
||||||
reset_meas(&gNB->dlsch_scrambling_stats);
|
reset_meas(&gNB->phy_proc_rx);
|
||||||
reset_meas(&gNB->dlsch_modulation_stats);
|
reset_meas(&gNB->rx_pusch_stats);
|
||||||
|
reset_meas(&gNB->ulsch_decoding_stats);
|
||||||
|
|
||||||
wait_sync("process_stats_thread");
|
wait_sync("process_stats_thread");
|
||||||
|
|
||||||
while(!oai_exit)
|
while(!oai_exit)
|
||||||
{
|
{
|
||||||
sleep(1);
|
sleep(1);
|
||||||
print_meas(&gNB->dlsch_encoding_stats, "pdsch_encoding", NULL, NULL);
|
print_meas(&gNB->phy_proc_tx, "L1 Tx processing", NULL, NULL);
|
||||||
print_meas(&gNB->dlsch_scrambling_stats, "pdsch_scrambling", NULL, NULL);
|
print_meas(&gNB->dlsch_encoding_stats, "DLSCH encoding", NULL, NULL);
|
||||||
print_meas(&gNB->dlsch_modulation_stats, "pdsch_modulation", NULL, NULL);
|
print_meas(&gNB->phy_proc_rx, "L1 Rx processing", NULL, NULL);
|
||||||
|
print_meas(&gNB->rx_pusch_stats, "PUSCH inner-receiver", NULL, NULL);
|
||||||
|
print_meas(&gNB->ulsch_decoding_stats, "PUSCH decoding", NULL, NULL);
|
||||||
}
|
}
|
||||||
return(NULL);
|
return(NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -995,7 +995,7 @@ int main(int argc, char **argv)
|
|||||||
if (run_initial_sync)
|
if (run_initial_sync)
|
||||||
nr_common_signal_procedures(gNB,frame,slot,gNB->ssb[0].ssb_pdu);
|
nr_common_signal_procedures(gNB,frame,slot,gNB->ssb[0].ssb_pdu);
|
||||||
else
|
else
|
||||||
phy_procedures_gNB_TX(gNB,frame,slot,0);
|
phy_procedures_gNB_TX(gNB,frame,slot,1);
|
||||||
|
|
||||||
int txdataF_offset = (slot%2) * frame_parms->samples_per_slot_wCP;
|
int txdataF_offset = (slot%2) * frame_parms->samples_per_slot_wCP;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user