diff options
author | Thomas White <taw@physics.org> | 2022-11-04 17:44:30 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-11-04 17:44:36 +0100 |
commit | bfd7c16a8919a6bae5263f5f7cfe2c131e6ba2d9 (patch) | |
tree | b813bc429be274da8458b724d322550f25ad625c /src/im-asapo.c | |
parent | 50d0043dd1177c10ba888b614c6766c5e33386e7 (diff) |
Revert "ASAP::O: Report lag between timestamp and current time"
This reverts commit 50d0043dd1177c10ba888b614c6766c5e33386e7.
It spams the terminal too much, and ASAP::O-tv shows this time more
comfortably via a web interface.
Diffstat (limited to 'src/im-asapo.c')
-rw-r--r-- | src/im-asapo.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/im-asapo.c b/src/im-asapo.c index 8b4263a9..82934d50 100644 --- a/src/im-asapo.c +++ b/src/im-asapo.c @@ -206,15 +206,6 @@ void *im_asapo_fetch(struct im_asapo *a, size_t *pdata_size, *pevent = strdup("//"); profile_end("copy-meta"); - struct timespec timestamp; - struct timespec timenow; - asapo_message_meta_get_timestamp(meta, ×tamp); - clock_gettime(CLOCK_REALTIME, &timenow); - double tnow_s = timenow.tv_sec + 1e-9*timenow.tv_nsec; - double tsnd_s = timestamp.tv_sec + 1e-9*timestamp.tv_nsec; - double tlag = tnow_s - tsnd_s; - STATUS("ASAP::O lag = %.1f s\n", tlag); - asapo_free_handle(&err); asapo_free_handle(&meta); asapo_free_handle(&data); |