summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Event/Performance/Connect.cpp')
-rw-r--r--TAO/orbsvcs/tests/Event/Performance/Connect.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/Event/Performance/Connect.cpp b/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
index 91e0b6738a3..0a10dba7a89 100644
--- a/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
+++ b/TAO/orbsvcs/tests/Event/Performance/Connect.cpp
@@ -96,7 +96,8 @@ EC_Connect::print_args (void) const
void
EC_Connect::dump_results (void)
{
- ACE_UINT32 gsf = ACE_High_Res_Timer::global_scale_factor ();
+ ACE_High_Res_Timer::global_scale_factor_type gsf =
+ ACE_High_Res_Timer::global_scale_factor ();
ACE_DEBUG ((LM_DEBUG, "\nConnect time:\n"));
this->consumer_connect_.dump_results (ACE_TEXT("Consumer/connect"), gsf);
this->supplier_connect_.dump_results (ACE_TEXT("Supplier/connect"), gsf);
@@ -241,7 +242,8 @@ EC_Connect::disconnect_clients (void)
now - start);
}
}
- ACE_UINT32 gsf = ACE_High_Res_Timer::global_scale_factor ();
+ ACE_High_Res_Timer::global_scale_factor_type gsf =
+ ACE_High_Res_Timer::global_scale_factor ();
this->consumer_disconnect_.dump_results (ACE_TEXT("Consumer/disconnect"), gsf);
this->supplier_disconnect_.dump_results (ACE_TEXT("Supplier/disconnect"), gsf);
}
@@ -260,7 +262,8 @@ EC_Connect::disconnect_consumers (void)
this->consumer_disconnect_.sample (now - start_time,
now - start);
}
- ACE_UINT32 gsf = ACE_High_Res_Timer::global_scale_factor ();
+ ACE_High_Res_Timer::global_scale_factor_type gsf =
+ ACE_High_Res_Timer::global_scale_factor ();
this->consumer_disconnect_.dump_results (ACE_TEXT("Consumer/disconnect"),
gsf);
if (this->verbose ())
@@ -281,7 +284,8 @@ EC_Connect::disconnect_suppliers (void)
this->supplier_disconnect_.sample (now - start_time,
now - start);
}
- ACE_UINT32 gsf = ACE_High_Res_Timer::global_scale_factor ();
+ ACE_High_Res_Timer::global_scale_factor_type gsf =
+ ACE_High_Res_Timer::global_scale_factor ();
this->supplier_disconnect_.dump_results (ACE_TEXT("Supplier/disconnect"),
gsf);
if (this->verbose ())