Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
rfjakob committed Apr 10, 2024
1 parent 5c452f9 commit 8593299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static void startup_selftests(poll_loop_args_t* args)
i++;

const int avg_n = 1000;
if(i%avg_n == 0) {
if (i % avg_n == 0) {
clock_gettime(CLOCK_MONOTONIC, &t1);
long delta_usecs = (t1.tv_sec - t0.tv_sec) * 1000000 + (t1.tv_nsec - t0.tv_nsec) / 1000;
double avg_wall_time_ms = (double)(delta_usecs / avg_n) / 1000.0;
Expand Down

0 comments on commit 8593299

Please sign in to comment.