summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-13 12:28:04 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-13 12:28:04 +0000
commitf9df67760cdd57ea736872d4f31b0795f2d06d90 (patch)
treedb615101928e8c2fcc60caf85a7ed9ff5833307c /ace
parent98fbfcde8e94f6f4adf87ea95229cbf3d5ce3fd6 (diff)
downloadATCD-f9df67760cdd57ea736872d4f31b0795f2d06d90.tar.gz
(dump): replaced ACE_static_casts with ACE_CU64_TO_CU32, because the method is const
Diffstat (limited to 'ace')
-rw-r--r--ace/High_Res_Timer.cpp34
1 files changed, 12 insertions, 22 deletions
diff --git a/ace/High_Res_Timer.cpp b/ace/High_Res_Timer.cpp
index 14d9b850995..77dd9bd37e0 100644
--- a/ace/High_Res_Timer.cpp
+++ b/ace/High_Res_Timer.cpp
@@ -205,28 +205,18 @@ ACE_High_Res_Timer::dump (void) const
start_incr_.hi (), start_incr_.lo ()));
#else /* ! ACE_LACKS_LONGLONG_T */
ACE_DEBUG ((LM_DEBUG,
- ASYS_TEXT (":\nstart_.hi (): %8x; start_.lo (): %8x;\n"
- "end_.hi (): %8x; end_.lo (): %8x;\n"
- "total_.hi (): %8x; total_.lo (): %8x;\n"
- "start_incr_.hi () %8x; start_incr_.lo (): %8x;\n"),
- start_ >> 32,
- start_ & 0xfffffffful,
- end_ >> 32,
- end_ & 0xfffffffful,
- total_ >> 32,
- total_ & 0xfffffffful,
- start_incr_ >> 32,
- start_incr_ & 0xfffffffful));
-#if 0
- ACE_static_cast (ACE_UINT32, start_ >> 32),
- ACE_static_cast (ACE_UINT32, start_ & 0xfffffffful),
- ACE_static_cast (ACE_UINT32, end_ >> 32),
- ACE_static_cast (ACE_UINT32, end_ & 0xfffffffful),
- ACE_static_cast (ACE_UINT32, total_ >> 32),
- ACE_static_cast (ACE_UINT32, total_ & 0xfffffffful),
- ACE_static_cast (ACE_UINT32, start_incr_ >> 32),
- ACE_static_cast (ACE_UINT32, start_incr_ & 0xfffffffful)));
-#endif /* 0 */
+ ASYS_TEXT (":\nstart_.hi (): %8x; start_.lo (): %8x;\n"
+ "end_.hi (): %8x; end_.lo (): %8x;\n"
+ "total_.hi (): %8x; total_.lo (): %8x;\n"
+ "start_incr_.hi () %8x; start_incr_.lo (): %8x;\n"),
+ ACE_CU64_TO_CU32 (start_ >> 32),
+ ACE_CU64_TO_CU32 (start_ & 0xfffffffful),
+ ACE_CU64_TO_CU32 (end_ >> 32),
+ ACE_CU64_TO_CU32 (end_ & 0xfffffffful),
+ ACE_CU64_TO_CU32 (total_ >> 32),
+ ACE_CU64_TO_CU32 (total_ & 0xfffffffful),
+ ACE_CU64_TO_CU32 (start_incr_ >> 32),
+ ACE_CU64_TO_CU32 (start_incr_ & 0xfffffffful)));
#endif /* ! ACE_LACKS_LONGLONG_T */
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}