Optimization for unused symbols in NR UE
After processing TX frequency domain data skip IFFT call for symbols that aren't used, the time domain buffer is memset instead.
This commit is contained in:
@@ -1091,11 +1091,16 @@ printf("%d\n", slot);
|
||||
frame_parms->nb_prefix_samples,
|
||||
CYCLIC_PREFIX);
|
||||
} else {
|
||||
bool was_symbol_used[NR_NUMBER_OF_SYMBOLS_PER_SLOT];
|
||||
for (int i = 0; i < 14; i++) {
|
||||
was_symbol_used[i] = true;
|
||||
}
|
||||
nr_normal_prefix_mod(&gNB->common_vars.txdataF[0][aa][txdataF_offset],
|
||||
&txdata[aa][slot_offset],
|
||||
14,
|
||||
frame_parms,
|
||||
slot);
|
||||
slot,
|
||||
was_symbol_used);
|
||||
}
|
||||
}
|
||||
if (n_trials==1) {
|
||||
|
||||
@@ -1525,7 +1525,7 @@ int main(int argc, char *argv[])
|
||||
printStatIndent(&gNB->ulsch_decoding_stats,"ULSCH total decoding time");
|
||||
|
||||
printf("\nUE TX\n");
|
||||
for (int i = PHY_PROC_TX; i <= ULSCH_ENCODING_STATS; i++) {
|
||||
for (int i = PHY_PROC_TX; i <= OFDM_MOD_STATS; i++) {
|
||||
printStatIndent(&UE->phy_cpu_stats.cpu_time_stats[i], UE->phy_cpu_stats.cpu_time_stats[i].meas_name);
|
||||
}
|
||||
printStatIndent(&gNB->rx_srs_stats,"RX SRS time");
|
||||
|
||||
Reference in New Issue
Block a user