Skip to content

Commit

Permalink
Remove tabs (#2144)
Browse files Browse the repository at this point in the history
  • Loading branch information
komarevtsev-d authored Sep 26, 2024
1 parent 285cf05 commit be6bc6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud/filestore/tools/testing/open_close_bench/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) {
clock_gettime(CLOCK_MONOTONIC, &endTime);

openTime = (endTime.tv_sec - startTime.tv_sec) +
(endTime.tv_nsec - startTime.tv_nsec) / 1e9;
(endTime.tv_nsec - startTime.tv_nsec) / 1e9;
printf("Open %.6f ms\n", openTime * 1000);
printf("Open avg %.6f ms\n", openTime * 1000 / n);

Expand All @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) {
clock_gettime(CLOCK_MONOTONIC, &endTime);

closeTime = (endTime.tv_sec - startTime.tv_sec) +
(endTime.tv_nsec - startTime.tv_nsec) / 1e9;
(endTime.tv_nsec - startTime.tv_nsec) / 1e9;
printf("Close %.6f ms\n", closeTime * 1000);
printf("Close avg %.6f ms\n", closeTime * 1000 / n);

Expand Down

0 comments on commit be6bc6a

Please sign in to comment.