summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-21 16:19:23 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-21 16:19:23 -0400
commit4d35b37c1f906265221363e6ba6b879cad9ab32b (patch)
tree7a92cd39b585079c6c7e256c667e206efc2f48b8 /libgpsd_core.c
parent02a8d5b006544a57a96e8282cdff7091ad596007 (diff)
downloadgpsd-4d35b37c1f906265221363e6ba6b879cad9ab32b.tar.gz
Add decode time to the profiling.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index e3ab7f3d..0994f632 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -843,6 +843,11 @@ gps_mask_t gpsd_poll(struct gps_device_t *session)
* will consistently be emitted just before the sentence that shows up
* as start-of-cycle in gpsmon, and never emitted at any other point
* in the cycle.
+ *
+ * In practice, it seems that edge detection succeeds at 9600bps but
+ * fails at 4800bps. This is not surprsing, as previous proviling has
+ * indicated that st 4800bps some devices overrun a 1-second cycle time
+ * with the data they transmit.
*/
#define MINIMUM_QUIET_TIME 0.25
if (session->packet.outbuflen == 0)