diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-09-21 16:19:23 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-09-21 16:19:23 -0400 |
commit | 4d35b37c1f906265221363e6ba6b879cad9ab32b (patch) | |
tree | 7a92cd39b585079c6c7e256c667e206efc2f48b8 /gpsd_json.c | |
parent | 02a8d5b006544a57a96e8282cdff7091ad596007 (diff) | |
download | gpsd-4d35b37c1f906265221363e6ba6b879cad9ab32b.tar.gz |
Add decode time to the profiling.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r-- | gpsd_json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd_json.c b/gpsd_json.c index 41d71164..e694a431 100644 --- a/gpsd_json.c +++ b/gpsd_json.c @@ -214,8 +214,8 @@ void json_tpv_dump(const struct gps_data_t *gpsdata, if (policy->timing) (void)snprintf(reply + strlen(reply), replylen - strlen(reply), - "\"xmit_time\":%f,", - xmit_time); + "\"cycle_start\":%f,\"xmit_time\":%f,", + gpsdata->cycle_start, xmit_time); #endif /* TIMING_ENABLE */ } if (reply[strlen(reply) - 1] == ',') |