summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-16 22:14:22 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-16 22:14:22 +0000
commit5867f6fefa59a49e53a2397ff35f011fbef693ac (patch)
tree450af2e7dfeff051b32a68a17256bf435cf462fc /tests
parentdf8b2100900a816fd3426096df9addef7d9df1b2 (diff)
downloadATCD-5867f6fefa59a49e53a2397ff35f011fbef693ac.tar.gz
ACE_Profile_Timer now uses units of usec if ACE_LACKS_FLOATING_POINT
Diffstat (limited to 'tests')
-rw-r--r--tests/Handle_Set_Test.cpp13
1 files changed, 2 insertions, 11 deletions
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",