diff options
author | Arnab Sen <arnabsen1729@gmail.com> | 2021-09-03 22:08:53 +0530 |
---|---|---|
committer | Arnab Sen <arnabsen1729@gmail.com> | 2021-11-28 11:51:21 +0530 |
commit | 2bc51c5c3215398875c04456a3f3df1c07b830b5 (patch) | |
tree | aef191c5127b3a7e4a0d1c791e96b54c9958d082 /src/validation.cpp | |
parent | a26e8eef43c5ff0f4a5cd44d1d331a7bd72564a5 (diff) | |
download | bitcoin-2bc51c5c3215398875c04456a3f3df1c07b830b5.tar.xz |
[tracing] tracepoints to utxocache add, spent and uncache
Signed-off-by: Arnab Sen <arnabsen1729@gmail.com>
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 7a14218b5c..86d2ae7577 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2102,13 +2102,12 @@ bool CChainState::FlushStateToDisk( full_flush_completed = true; } TRACE6(utxocache, flush, - (int64_t)(GetTimeMicros() - nNow.count()), // in microseconds (µs) - (u_int32_t)mode, - (u_int64_t)coins_count, - (u_int64_t)coins_mem_usage, - (bool)fFlushForPrune, - (bool)fDoFullFlush - ); + (int64_t)(GetTimeMicros() - nNow.count()), // in microseconds (µs) + (u_int32_t)mode, + (u_int64_t)coins_count, + (u_int64_t)coins_mem_usage, + (bool)fFlushForPrune, + (bool)fDoFullFlush); } if (full_flush_completed) { // Update best block in wallet (so we can detect restored wallets). |