Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/perftest_resources.c
Original file line number Diff line number Diff line change
Expand Up @@ -4062,6 +4062,8 @@ int run_iter_bw(struct pingpong_context *ctx,struct perftest_parameters *user_pa
gap_cycles = cpu_mhz * gap_time;
}

gap_deadline = get_cycles();

/* main loop for posting */
while (totscnt < tot_iters || totccnt < tot_iters ||
(user_param->test_type == DURATION && user_param->state != END_STATE) ) {
Expand All @@ -4073,7 +4075,7 @@ int run_iter_bw(struct pingpong_context *ctx,struct perftest_parameters *user_pa
/* Go right to cq polling until gap time is over. */
continue;
}
gap_deadline = get_cycles() + gap_cycles;
gap_deadline = gap_deadline + gap_cycles;
is_sending_burst = 1;
burst_iter = 0;
}
Expand Down