Commit ded13e02 authored by Raymond Knopp's avatar Raymond Knopp

profiling prach

parent 84b34ffb
......@@ -158,7 +158,8 @@ static inline void stop_meas(time_stats_t *ts) {
ts->p_time = (out-ts->in);
ts->diff_square += ((double)out-ts->in)*((double)out-ts->in);
if ((out-ts->in) > ts->max)
if (((ts->trials&1024)==0) || ((out-ts->in) > ts->max))
ts->max = out-ts->in;
ts->meas_flag=0;
......
......@@ -378,6 +378,7 @@ static size_t dump_L1_meas_stats(PHY_VARS_gNB *gNB, RU_t *ru, char *output, size
output += print_meas_log(&gNB->rx_pusch_stats, "PUSCH inner-receiver", NULL, NULL, output, end - output);
output += print_meas_log(&gNB->ulsch_decoding_stats, "PUSCH decoding", NULL, NULL, output, end - output);
output += print_meas_log(&gNB->schedule_response_stats, "Schedule Response", NULL, NULL, output, end - output);
output += print_meas_log(&gNB->rx_prach,"PRACH RX",NULL,NULL,output,end - output);
if (ru->feprx)
output += print_meas_log(&ru->ofdm_demod_stats, "feprx", NULL, NULL, output, end - output);
......
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