1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-23 19:29:51 +05:30

clock_hr_microsec.c: reformat

This commit is contained in:
Intel A80486DX2-66 2024-07-04 23:01:04 +03:00
parent 727775502b
commit a4f2974468
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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