From bfd7c16a8919a6bae5263f5f7cfe2c131e6ba2d9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 4 Nov 2022 17:44:30 +0100 Subject: 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. --- src/im-asapo.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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); -- cgit v1.2.3