Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
bdc59c26
Commit
bdc59c26
authored
Feb 06, 2020
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time measurement added to calcNextPhase() in WimaController
parent
b08e6619
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
148126 additions
and
6 deletions
+148126
-6
callgrind.SyncWimaFetch
profiling/callgrind/callgrind.SyncWimaFetch
+71018
-0
callgrind.SyncWimaPush
profiling/callgrind/callgrind.SyncWimaPush
+77101
-0
TransectStyleComplexItem.cc
src/MissionManager/TransectStyleComplexItem.cc
+1
-4
WimaController.cc
src/Wima/WimaController.cc
+4
-0
WimaPlanData.h
src/Wima/WimaPlanData.h
+1
-1
WimaPlaner.cc
src/Wima/WimaPlaner.cc
+1
-1
No files found.
profiling/callgrind/callgrind.SyncWimaFetch
0 → 100644
View file @
bdc59c26
This diff is collapsed.
Click to expand it.
profiling/callgrind/callgrind.SyncWimaPush
0 → 100644
View file @
bdc59c26
This diff is collapsed.
Click to expand it.
src/MissionManager/TransectStyleComplexItem.cc
View file @
bdc59c26
...
...
@@ -358,10 +358,7 @@ void TransectStyleComplexItem::_rebuildTransects(void)
return
;
}
auto
startTime
=
std
::
chrono
::
high_resolution_clock
::
now
();
_rebuildTransectsPhase1
();
auto
delta
=
std
::
chrono
::
duration_cast
<
std
::
chrono
::
microseconds
>
(
std
::
chrono
::
high_resolution_clock
::
now
()
-
startTime
).
count
();
qWarning
()
<<
"TransectStyleComplexItem::_rebuildTransects(): time: "
<<
delta
<<
" us"
;
_rebuildTransectsPhase1
();
if
(
_followTerrain
)
{
// Query the terrain data. Once available terrain heights will be calculated
...
...
src/Wima/WimaController.cc
View file @
bdc59c26
...
...
@@ -582,6 +582,7 @@ bool WimaController::fetchContainerData()
bool
WimaController
::
calcNextPhase
()
{
auto
start
=
std
::
chrono
::
high_resolution_clock
::
now
();
if
(
_missionItems
.
count
()
<
1
)
{
_startWaypointIndex
=
0
;
_endWaypointIndex
=
0
;
...
...
@@ -802,6 +803,9 @@ bool WimaController::calcNextPhase()
updateCurrentPath
();
emit
currentMissionItemsChanged
();
qWarning
()
<<
"WimaController::calcNextPhase() exec time: "
<<
std
::
chrono
::
duration_cast
<
std
::
chrono
::
microseconds
>
(
std
::
chrono
::
high_resolution_clock
::
now
()
-
start
).
count
()
<<
" us"
;
return
true
;
}
...
...
src/Wima/WimaPlanData.h
View file @
bdc59c26
...
...
@@ -9,7 +9,7 @@
#include "WimaJoinedAreaData.h"
#include "MissionItem.h"
class
WimaPlanData
:
QObject
class
WimaPlanData
:
public
QObject
{
Q_OBJECT
public:
...
...
src/Wima/WimaPlaner.cc
View file @
bdc59c26
...
...
@@ -705,7 +705,7 @@ void WimaPlaner::setInteractive()
QSharedPointer
<
WimaPlanData
>
WimaPlaner
::
toPlanData
()
{
//WimaPlanData *data = new WimaPlanData(nullptr);
QSharedPointer
<
WimaPlanData
>
planData
;
QSharedPointer
<
WimaPlanData
>
planData
(
new
WimaPlanData
())
;
// store areas
planData
->
append
(
WimaMeasurementAreaData
(
_measurementArea
));
...
...
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