debuginfod: use clock_gettime(CLOCK_MONOTONIC) for intervals
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 26 Nov 2020 00:41:03 +0000 (19:41 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 26 Nov 2020 00:42:10 +0000 (19:42 -0500)
commitea5788a5bae5ac88148e4cddbe5fe7ea7628eadc
tree801043999d1f307510e97a650bca2ba204d115fc
parentba6499984c2202e339e82420090cc9fc443ed8f2
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>
debuginfod/ChangeLog
debuginfod/debuginfod.cxx