[Interest] QtPositioning high delay on QGeoPositionInfoSource::startUpdates
Blasche Alexander
alexander.blasche at theqtcompany.com
Tue Apr 5 09:24:42 CEST 2016
Hi Maxim,
Am I right in the assumption that this only happens during startup or does it happen during the normal position update cycle as well?
I am not sure whether or how we can fix this. It seems the Java thread startup which creates the Looper and message handler somehow freezes the Qt thread. The whole point of the Java thread was to not affect the Qt thread....
--
Alex
________________________________
From: Interest <interest-bounces+alexander.blasche=theqtcompany.com at qt-project.org> on behalf of Maxim Bescherevnykh <maxim.bescherevnykh at gmail.com>
Sent: Friday, April 1, 2016 10:16
To: interest at qt-project.org
Subject: [Interest] QtPositioning high delay on QGeoPositionInfoSource::startUpdates
QGeoPositionInfoSource::startUpdates startup time vary in high range 2 ms ~ 10000 ms sometimes there is very high delays that freeze UI:
"Looper Thread startup time in ms: 1189"
"Looper Thread startup time in ms: 20"
"Looper Thread startup time in ms: 8189"
...
values from Android device (Nexus 5)
Is there way to reduce those delays or only solution is to move QGeoPositionInfoSource in separate thread?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160405/89dc81b7/attachment.html>
More information about the Interest
mailing list