Commit 8fe11058 authored by Mark Ruzindana's avatar Mark Ruzindana
Browse files

Updating repo for software review.

parent 8bdcdf50
......@@ -207,14 +207,14 @@ static void * run(hashpipe_thread_args_t * args) {
}
// Run the beamformer
struct timeval tval_before, tval_after, tval_result;
gettimeofday(&tval_before, NULL);
//struct timeval tval_before, tval_after, tval_result;
//gettimeofday(&tval_before, NULL);
run_beamformer((signed char *)&db_in->block[curblock_in].data, (float *)&db_out->block[curblock_out].data);
gettimeofday(&tval_after, NULL);
timersub(&tval_after, &tval_before, &tval_result);
if ((float) tval_result.tv_usec/1000 > 13) {
printf("RTBF: Warning!!!!!!!!! Time = %f ms\n", (float) tval_result.tv_usec/1000);
}
//gettimeofday(&tval_after, NULL);
//timersub(&tval_after, &tval_before, &tval_result);
//if ((float) tval_result.tv_usec/1000 > 13) {
// printf("RTBF: Warning!!!!!!!!! Time = %f ms\n", (float) tval_result.tv_usec/1000);
//}
// Get block's starting mcnt for output block
db_out->block[curblock_out].header.mcnt = db_in->block[curblock_in].header.mcnt_start;
......
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