summaryrefslogtreecommitdiff
path: root/debuginfod/ChangeLog
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2020-11-25 19:41:03 -0500
committerFrank Ch. Eigler <fche@redhat.com>2020-11-25 19:42:10 -0500
commitea5788a5bae5ac88148e4cddbe5fe7ea7628eadc (patch)
tree801043999d1f307510e97a650bca2ba204d115fc /debuginfod/ChangeLog
parentba6499984c2202e339e82420090cc9fc443ed8f2 (diff)
downloadelfutils-ea5788a5bae5ac88148e4cddbe5fe7ea7628eadc.tar.gz
debuginfod: use clock_gettime(CLOCK_MONOTONIC) for intervals
On Mark's request, use a monotonic clock for metrics/reports related to time interval measurement. gettimeofday can jump a bit, which could distort metrics. Tests unaffected. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'debuginfod/ChangeLog')
-rw-r--r--debuginfod/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog
index 576b6673..d3868383 100644
--- a/debuginfod/ChangeLog
+++ b/debuginfod/ChangeLog
@@ -3,6 +3,12 @@
* debuginfod-client.c (debuginfod_query_server): Initialize
struct handle_data errbuf to the empty string.
+2020-11-25 Frank Ch. Eigler <fche@redhat.com>
+
+ * debuginfod.cxx (tmp_ms_metric): Switch from gettimeofday to
+ clock_gettime(CLOCK_MONOTONIC) for time-interval measurements.
+ (handler_cb, scan_source_paths, groom): Ditto.
+
2020-11-23 Frank Ch. Eigler <fche@redhat.com>
* debuginfod.cxx (tmp_ms_metric): New class for RAII timing metrics.