Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
ras-devel
FLAG
Commits
8fe11058
Commit
8fe11058
authored
5 years ago
by
Mark Ruzindana
Browse files
Options
Download
Email Patches
Plain Diff
Updating repo for software review.
parent
8bdcdf50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
versions/scalloping/src/flag_transpose_beamform_thread.c
+7
-7
versions/scalloping/src/flag_transpose_beamform_thread.c
with
7 additions
and
7 deletions
+7
-7
versions/scalloping/src/flag_transpose_beamform_thread.c
+
7
-
7
View file @
8fe11058
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets