diff options
author | fanquake <fanquake@gmail.com> | 2023-02-02 10:24:52 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-02-02 10:30:29 +0000 |
commit | 9dc50a5a0788fa07fa67e9ffa1457e53aa9a0e53 (patch) | |
tree | ca7b5193dfc2ed8e7a14cdcd4040a7268c40caff /src/streams.h | |
parent | 102645280b945a0fbbbe67f8b55f1fc6b16b9b89 (diff) | |
parent | fad7af700e3f57d16631e27fbe2fd7aaa6c9a950 (diff) | |
download | bitcoin-9dc50a5a0788fa07fa67e9ffa1457e53aa9a0e53.tar.xz |
Merge bitcoin/bitcoin#27005: util: Use steady clock for logging timer
fad7af700e3f57d16631e27fbe2fd7aaa6c9a950 Use steady clock for logging timer (MarcoFalke)
Pull request description:
The logging timer has many issues:
* The underlying clock is mockable, meaning that benchmarks are useless when mocktime was set at the beginning or end of the benchmark.
* The underlying clock is not monotonic, meaning that benchmarks are useless when the system time was changed during the benchmark.
Fix all issues in this patch.
ACKs for top commit:
stickies-v:
Approach ACK fad7af700e3f57d16631e27fbe2fd7aaa6c9a950
john-moffett:
ACK fad7af700e3f57d16631e27fbe2fd7aaa6c9a950
Tree-SHA512: bec8da0f338ed4611e1807937575e1b2afda25139d88015b1c29fa7d13946fbfbc4ee589b576c0508d505df5e5fafafcbc07d63ce4bab4b01475260d9d5d2107
Diffstat (limited to 'src/streams.h')
0 files changed, 0 insertions, 0 deletions