summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Time
diff options
context:
space:
mode:
authorvishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-21 20:13:25 +0000
committervishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-21 20:13:25 +0000
commit374a8f14fecefeee2b0ccc58cf09ee9e8ffc324c (patch)
treef3b8cf03360541df7e0281be373d381ff1cae7da /TAO/orbsvcs/orbsvcs/Time
parentf34184172a87453885a78839a677469dfea398d8 (diff)
downloadATCD-374a8f14fecefeee2b0ccc58cf09ee9e8ffc324c.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Time')
-rw-r--r--TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
index de4eb9ca3ba..e7594872e16 100644
--- a/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
+++ b/TAO/orbsvcs/orbsvcs/Time/Timer_Helper.cpp
@@ -44,6 +44,21 @@ Timer_Helper::handle_timeout (const ACE_Time_Value &time,
TAO_CHECK_ENV;
+ #if defined (ACE_LACKS_LONGLONG_T)
+
+ ACE_DEBUG ((LM_DEBUG,
+ "\nTime = %Q\nInaccuracy = %Q\nTimeDiff = %d\nstruct.time = %Q\n"
+ "struct.inacclo = %d\nstruct.inacchi = %d\nstruct.Tdf = %d\n",
+ ACE_U64_TO_U32 (UTO_server->time (TAO_TRY_ENV)),
+ ACE_U64_TO_U32 (UTO_server->inaccuracy (TAO_TRY_ENV)),
+ UTO_server->tdf (TAO_TRY_ENV),
+ ACE_U64_TO_U32 ((UTO_server->utc_time ()).time),
+ (UTO_server->utc_time ()).inacclo,
+ (UTO_server->utc_time ()).inacchi,
+ (UTO_server->utc_time ()).tdf));
+
+ #else
+
ACE_DEBUG ((LM_DEBUG,
"\nTime = %Q\nInaccuracy = %Q\nTimeDiff = %d\nstruct.time = %Q\n"
"struct.inacclo = %d\nstruct.inacchi = %d\nstruct.Tdf = %d\n",
@@ -51,9 +66,10 @@ Timer_Helper::handle_timeout (const ACE_Time_Value &time,
UTO_server->inaccuracy (TAO_TRY_ENV),
UTO_server->tdf (TAO_TRY_ENV),
(UTO_server->utc_time ()).time,
- ACE_U64_TO_U32 ((UTO_server->utc_time ()).inacclo),
- ACE_U64_TO_U32 ((UTO_server->utc_time ()).inacchi),
+ (UTO_server->utc_time ()).inacclo,
+ (UTO_server->utc_time ()).inacchi,
(UTO_server->utc_time ()).tdf));
+ #endif
// This is a remote call.
sum += (CORBA::ULongLong) UTO_server->time (TAO_TRY_ENV);