summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-27 02:34:37 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-27 02:34:37 +0000
commit94767d2c4ef68e52dbfe81cfb888be2f315a5be6 (patch)
treeff6546d15a26dc1e859b61f9206c49d4a3c49f2a /performance-tests
parent75cf34563777e1d2cb7ea5e7f040fe1deffa4054 (diff)
downloadATCD-94767d2c4ef68e52dbfe81cfb888be2f315a5be6.tar.gz
(per_iteration): use ACE_CU64_TO_CU32 for narrowing the const
ACE_UIN64 argument.
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/basic_perf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-tests/Misc/basic_perf.cpp b/performance-tests/Misc/basic_perf.cpp
index cf8e91f3e13..ca665d72228 100644
--- a/performance-tests/Misc/basic_perf.cpp
+++ b/performance-tests/Misc/basic_perf.cpp
@@ -53,7 +53,7 @@ inline
double
per_iteration (const ACE_hrtime_t elapsed /* nanoseconds */)
{
- double ms_per_iteration = (double) ACE_U64_TO_U32 (elapsed) / 1000.0 /
+ double ms_per_iteration = (double) ACE_CU64_TO_CU32 (elapsed) / 1000.0 /
(double) iterations;
// Don't print out "-0.000" or "-0.001" . . .