mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
mdbx-test: fix nops_completed type.
Change-Id: I9b9930bc26d4301d0da0fdf59bc70befc37e2f6a
This commit is contained in:
parent
4da4ab3650
commit
2c8f115400
@ -239,7 +239,7 @@ bool testcase_nested::run() {
|
||||
const unsigned window_width =
|
||||
(!should_continue() || flipcoin_x4()) ? 0 : edge2window(salt);
|
||||
const unsigned head_count = edge2count(salt);
|
||||
log_debug("nested: step #%zu (serial %" PRIu64
|
||||
log_debug("nested: step #%" PRIu64 " (serial %" PRIu64
|
||||
", window %u, count %u) salt %" PRIu64,
|
||||
nops_completed, serial, window_width, head_count, salt);
|
||||
|
||||
|
@ -340,18 +340,18 @@ void testcase::report(size_t nops_done) {
|
||||
return;
|
||||
|
||||
nops_completed += nops_done;
|
||||
log_debug("== complete +%" PRIuPTR " iteration, total %" PRIuPTR " done",
|
||||
log_debug("== complete +%" PRIuPTR " iteration, total %" PRIu64 " done",
|
||||
nops_done, nops_completed);
|
||||
|
||||
kick_progress(true);
|
||||
|
||||
if (config.signal_nops && !signalled &&
|
||||
config.signal_nops <= nops_completed) {
|
||||
log_trace(">> signal(n-ops %" PRIuPTR ")", nops_completed);
|
||||
log_trace(">> signal(n-ops %" PRIu64 ")", nops_completed);
|
||||
if (!global::singlemode)
|
||||
osal_broadcast(config.actor_id);
|
||||
signalled = true;
|
||||
log_trace("<< signal(n-ops %" PRIuPTR ")", nops_completed);
|
||||
log_trace("<< signal(n-ops %" PRIu64 ")", nops_completed);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -148,7 +148,7 @@ protected:
|
||||
bool signalled{false};
|
||||
bool need_speculum_assign{false};
|
||||
|
||||
size_t nops_completed{0};
|
||||
uint64_t nops_completed{0};
|
||||
chrono::time start_timestamp;
|
||||
keygen::buffer key;
|
||||
keygen::buffer data;
|
||||
|
@ -139,7 +139,7 @@ bool testcase_ttl::run() {
|
||||
const unsigned window_width =
|
||||
(!should_continue() || flipcoin_x4()) ? 0 : edge2window(salt);
|
||||
unsigned head_count = edge2count(salt);
|
||||
log_debug("ttl: step #%zu (serial %" PRIu64
|
||||
log_debug("ttl: step #%" PRIu64 " (serial %" PRIu64
|
||||
", window %u, count %u) salt %" PRIu64,
|
||||
nops_completed, serial, window_width, head_count, salt);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user