From 5867f6fefa59a49e53a2397ff35f011fbef693ac Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 16 Mar 1998 22:14:22 +0000 Subject: ACE_Profile_Timer now uses units of usec if ACE_LACKS_FLOATING_POINT --- tests/Handle_Set_Test.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'tests') diff --git a/tests/Handle_Set_Test.cpp b/tests/Handle_Set_Test.cpp index 86cc102c84d..a0d19d7cb4a 100644 --- a/tests/Handle_Set_Test.cpp +++ b/tests/Handle_Set_Test.cpp @@ -150,22 +150,13 @@ test_performance (size_t max_handles, #if defined (ACE_LACKS_FLOATING_POINT) ACE_DEBUG ((LM_DEBUG, - "real time = %u secs\n", + "real time = %u usecs\n", et.real_time)); -#if defined (ACE_LACKS_LONGLONG_T) - ACE_U_LongLong tmp = et.real_time; - tmp *= (ACE_UINT32) 1000000; ACE_DEBUG ((LM_DEBUG, "time per each of the %d calls = %u usecs\n", count, - tmp / count)); -#else - ACE_DEBUG ((LM_DEBUG, - "time per each of the %d calls = %u usecs\n", - count, - et.real_time * 1000000u / count)); -#endif + et.real_time / count)); #else /* ! ACE_LACKS_FLOATING_POINT */ ACE_DEBUG ((LM_DEBUG, "real time = %f secs, user time = %f secs, system time = %f secs\n", -- cgit v1.2.1