mock correct size distribution

This commit is contained in:
GroovieGermanikus 2024-05-02 12:02:52 +02:00
parent 8e5b1b8f73
commit a6cb6bb17f
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 2 deletions

View File

@ -123,9 +123,9 @@ fn start_tracking_account_consumer(mut geyser_messages_rx: Receiver<Message>) {
if current_slot != slot {
info!("Slot: {}", slot);
if current_slot != 0 {
info!("Slot: {} - {:.2} MiB", slot, *bytes_per_slot.get(&current_slot).unwrap() as f64 / 1024.0 / 1024.0 );
info!("Slot: {} - account data transferred: {:.2} MiB", slot, *bytes_per_slot.get(&current_slot).unwrap() as f64 / 1024.0 / 1024.0 );
info!("Slot: {} - Updates: {}", slot, updates_per_slot.get(&current_slot).unwrap());
info!("Slot: {} - num of update messages: {}", slot, updates_per_slot.get(&current_slot).unwrap());
let counters = wallclock_updates_per_slot_account.iter()
.filter(|((slot, _pubkey), _)| slot == &current_slot)