From a4f29744686f180c5d9a640f1dcda6919d76a1cd Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Thu, 4 Jul 2024 23:01:04 +0300 Subject: [PATCH] clock_hr_microsec.c: reformat --- c-programming/benchmarking/clock_hr_microsec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/c-programming/benchmarking/clock_hr_microsec.c b/c-programming/benchmarking/clock_hr_microsec.c index fd33ade..4384a95 100644 --- a/c-programming/benchmarking/clock_hr_microsec.c +++ b/c-programming/benchmarking/clock_hr_microsec.c @@ -20,16 +20,13 @@ static LONGLONG QPF_frequency; # define CLOCK_HR_DIFFTIME_MS(t2, t1) \ (((clock_hr_microsec_t) ((t2) - (t1))) / \ ((clock_hr_microsec_t) QPF_frequency)) - #elif defined(SYS_UNIX) # define CLOCK_HR_DIFFTIME_MS(t2, t1) \ ((t2) - (t1)) - #else # define CLOCK_HR_DIFFTIME_MS(t2, t1) \ - ((clock_hr_microsec_t) ((t2) - (t1)) * 1000000.L) / \ + ((clock_hr_microsec_t) ((t2) - (t1)) * 1000000.L) / \ ((clock_hr_microsec_t) CLOCKS_PER_SEC) - #endif // function implementations