WIP.
This commit is contained in:
parent
5a6177b613
commit
2ec2de1dfc
|
@ -205,7 +205,7 @@ static SUCCESS: AtomicU64 = AtomicU64::new(0);
|
||||||
|
|
||||||
fn success(total: u64) {
|
fn success(total: u64) {
|
||||||
let value = SUCCESS.fetch_add(1, Ordering::Relaxed);
|
let value = SUCCESS.fetch_add(1, Ordering::Relaxed);
|
||||||
if value % 1000 == 0 {
|
if value % 100 == 0 {
|
||||||
eprintln!("SUCCESS: {} / TOTAL: {}", value, total);
|
eprintln!("SUCCESS: {} / TOTAL: {}", value, total);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue