Skip to content

Commit

Permalink
flip delta time
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Apr 29, 2024
1 parent 28c3041 commit 2d65f2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/bench_geyser_grpc_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ fn start_tracking_account_consumer(mut geyser_messages_rx: Receiver<Message>) {
info!("Deltas histogram: {}", deltas_histogram);

if let Some(actual_block_time) = block_time_per_slot.get(&current_slot) {
let now = get_epoch_sec();
info!("Block time for slot {}: delta {} seconds", current_slot, *actual_block_time - now);
info!("Block time for slot {}: delta {} seconds", current_slot, account_receive_time - *actual_block_time);
}

}
Expand Down

0 comments on commit 2d65f2d

Please sign in to comment.