Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_kalman_filter_src
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfx_kalman_filter_src
Commits
83b2d62e
Commit
83b2d62e
authored
Dec 17, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打印平均时间
parent
43e16408
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
TrackingRos.cpp
TrackingRos.cpp
+16
-1
No files found.
TrackingRos.cpp
View file @
83b2d62e
...
...
@@ -143,7 +143,22 @@ void TrackingRos::ThreadTrackingProcess()
uint64_t
begin
=
GetCurTime
();
m_tracker
.
Run
(
input
,
detectionsId
,
updateId
,
lostId
);
SDK_LOG
(
SDK_INFO
,
"m_tracker.Run time = %llu"
,
GetCurTime
()
-
begin
);
uint64_t
rTime
=
GetCurTime
()
-
begin
;
SDK_LOG
(
SDK_INFO
,
"m_tracker.Run time = %llu"
,
rTime
);
static
int
count
=
0
;
count
++
;
static
uint64_t
totelTime
=
0
;
totelTime
+=
rTime
;
static
uint64_t
countBegin
=
0
;
if
(
countBegin
==
0
)
countBegin
=
GetCurTime
();
if
(
GetCurTime
()
-
countBegin
>
3000
*
1000
)
{
SDK_LOG
(
SDK_INFO
,
"run kf average time = %llu"
,
totelTime
/
counts
);
countBegin
=
GetCurTime
();
count
=
0
;
totelTime
=
0
;
}
std
::
map
<
uint64_t
,
std
::
shared_ptr
<
Track3D
>
>&
trackers
=
m_tracker
.
GetStates
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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