|
|
|
@ -505,7 +505,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srslte_ldpc_decoder_decode_c(&decoder_c, symbols_c + j * finalN, messages_sim_c + j * finalK, finalN);
|
|
|
|
|
srslte_ldpc_decoder_decode_rm_c(&decoder_c, symbols_c + j * finalN, messages_sim_c + j * finalK, finalN);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
|
get_time_interval(t);
|
|
|
|
@ -526,7 +526,8 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srslte_ldpc_decoder_decode_c(&decoder_c_flood, symbols_c + j * finalN, messages_sim_c_flood + j * finalK, finalN);
|
|
|
|
|
srslte_ldpc_decoder_decode_rm_c(
|
|
|
|
|
&decoder_c_flood, symbols_c + j * finalN, messages_sim_c_flood + j * finalK, finalN);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
|
get_time_interval(t);
|
|
|
|
@ -548,7 +549,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srslte_ldpc_decoder_decode_c(&decoder_avx, symbols_c + j * finalN, messages_sim_avx + j * finalK, finalN);
|
|
|
|
|
srslte_ldpc_decoder_decode_rm_c(&decoder_avx, symbols_c + j * finalN, messages_sim_avx + j * finalK, finalN);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
|
get_time_interval(t);
|
|
|
|
@ -569,7 +570,7 @@ int main(int argc, char** argv)
|
|
|
|
|
// Recover messages
|
|
|
|
|
gettimeofday(&t[1], NULL);
|
|
|
|
|
for (j = 0; j < batch_size; j++) {
|
|
|
|
|
srslte_ldpc_decoder_decode_c(
|
|
|
|
|
srslte_ldpc_decoder_decode_rm_c(
|
|
|
|
|
&decoder_avx_flood, symbols_c + j * finalN, messages_sim_avx_flood + j * finalK, finalN);
|
|
|
|
|
}
|
|
|
|
|
gettimeofday(&t[2], NULL);
|
|
|
|
|