diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-09-15 21:59:47 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-09-15 21:59:47 +0000 |
commit | f10b51368000213a241305a582f0a822dde000d2 (patch) | |
tree | 6b4afae741bbe9199774f90ada637dc08ead9923 /tests | |
parent | 33764d5d5b83824c95f6bb7c2f13c1f3ebc1c27c (diff) | |
download | ATCD-f10b51368000213a241305a582f0a822dde000d2.tar.gz |
ChangeLogTag: Sat Sep 15 16:58:08 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/High_Res_Timer_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/High_Res_Timer_Test.cpp b/tests/High_Res_Timer_Test.cpp index b1c5c3dc0cc..5e1b3aab578 100644 --- a/tests/High_Res_Timer_Test.cpp +++ b/tests/High_Res_Timer_Test.cpp @@ -54,9 +54,9 @@ check_micro_nano (ACE_hrtime_t microinterval, ACE_hrtime_t nanointerval) const u_int threshold = 8 /* promille */; microinterval *= 1000u; - const ACE_hrtime_t hr_difference = (microinterval > nanointerval ? - microinterval - nanointerval : - nanointerval - microinterval ); + ACE_hrtime_t hr_difference = (microinterval > nanointerval ? + microinterval - nanointerval : + nanointerval - microinterval ); const u_int difference = ACE_U64_TO_U32 (hr_difference); if (nanointerval == 0) nanointerval = 1; // Prevent divide-by-zero |