summaryrefslogtreecommitdiff
path: root/ace/Stats.cpp
diff options
context:
space:
mode:
authorgmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-04-08 23:43:26 +0000
committergmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-04-08 23:43:26 +0000
commit3a1382cbde7d2903f305c19164df74e8e119f7fe (patch)
tree16c9e59e16462bd45392e9d2ce9665245fbff84f /ace/Stats.cpp
parent8dee2e6f43aed57b1ac83ba04ac52bd2364a4f2c (diff)
downloadATCD-3a1382cbde7d2903f305c19164df74e8e119f7fe.tar.gz
ChangeLogTag: Fri Apr 8 16:39:00 2005 Gary Maxey <gary.maxey@hp.com>
Diffstat (limited to 'ace/Stats.cpp')
-rw-r--r--ace/Stats.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/Stats.cpp b/ace/Stats.cpp
index b49f108fa27..47c4da1dae4 100644
--- a/ace/Stats.cpp
+++ b/ace/Stats.cpp
@@ -591,6 +591,9 @@ ACE_Throughput_Stats::dump_throughput (const ACE_TCHAR *msg,
double seconds =
# if defined ACE_LACKS_LONGLONG_T
elapsed_time / sf;
+#elif defined (ACE_LACKS_UNSIGNEDLONGLONG_T)
+ static_cast<double> (ACE_UINT64_DBLCAST_ADAPTER (
+ ACE_U_LongLong(elapsed_time / sf)));
# else /* ! ACE_LACKS_LONGLONG_T */
static_cast<double> (ACE_UINT64_DBLCAST_ADAPTER (elapsed_time / sf));
# endif /* ! ACE_LACKS_LONGLONG_T */