summaryrefslogtreecommitdiff
path: root/ACE/ace/Throughput_Stats.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2012-05-15 18:23:04 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2012-05-15 18:23:04 +0000
commit38d791f18d8a67b8b9319f4b6a9579101628b28c (patch)
treebe35c69512246f58a303abc27e2028a848a78f8a /ACE/ace/Throughput_Stats.cpp
parent7d6ea0dc00c882c452db06f31af9acc17fc18046 (diff)
downloadATCD-38d791f18d8a67b8b9319f4b6a9579101628b28c.tar.gz
Tue May 15 18:16:09 UTC 2012 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/ACE.inl: * ace/Atomic_Op_T.h: * ace/Basic_Types.h: * ace/Basic_Types.inl: * ace/Basic_Types.cpp: * ace/CDR_Base.h: * ace/Functor.h: * ace/Functor.inl: * ace/Handle_Set.cpp: * ace/High_Res_Timer.cpp: * ace/Log_Msg.cpp: * ace/Numeric_Limits.h: * ace/OS_NS_Thread.inl: * ace/OS_NS_Thread.cpp: * ace/OS_NS_stdlib.inl: * ace/OS_NS_sys_select.inl: * ace/OS_NS_sys_wait.inl: * ace/OS_NS_time.h: * ace/OS_NS_time.inl: * ace/OS_NS_unistd.inl: * ace/Profile_Timer.cpp: * ace/Sched_Params.cpp: * ace/Stats.cpp: * ace/Task.cpp: * ace/Throughput_Stats.cpp: * ace/Time_Value.h: * ace/Time_Value.inl: * ace/Truncate.h: * ace/UUID.cpp: * ace/os_include/os_pthread.h: * performance-tests/Server_Concurrency/Latency_Stats.h: * performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp: * performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp: * performance-tests/UDP/udp_test.cpp: * tests/Atomic_Op_Test.cpp: * tests/Basic_Types_Test.cpp: * tests/CDR_Array_Test.cpp: Removed support for Tandem NSK. That was the last platform that needed the emulated versions of ACE_INT64 and ACE_UINT64, that emulation has now been removed * ace/config-tandem-nsk-mips-v2.h: * ace/config-tandem-nsk-mips-v3.h: Removed these files.
Diffstat (limited to 'ACE/ace/Throughput_Stats.cpp')
-rw-r--r--ACE/ace/Throughput_Stats.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/ACE/ace/Throughput_Stats.cpp b/ACE/ace/Throughput_Stats.cpp
index b49afec15e4..9753c0c2481 100644
--- a/ACE/ace/Throughput_Stats.cpp
+++ b/ACE/ace/Throughput_Stats.cpp
@@ -73,14 +73,7 @@ ACE_Throughput_Stats::dump_throughput (const ACE_TCHAR *msg,
{
#ifndef ACE_NLOGGING
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 */
seconds /= ACE_HR_SCALE_CONVERSION;
const double t_avg = samples_count / seconds;