summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Sequence_Latency/Deferred
diff options
context:
space:
mode:
authorgmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-09-02 20:36:56 +0000
committergmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-09-02 20:36:56 +0000
commitc4075a441853646185cfa6f02d0bdffa37eb2a51 (patch)
tree98872bf1d2e4d1992c3b7bc69c98e0b7761b27f4 /TAO/performance-tests/Sequence_Latency/Deferred
parent55481c1551f8286cbac101bc7693efd179766029 (diff)
downloadATCD-c4075a441853646185cfa6f02d0bdffa37eb2a51.tar.gz
ChangeLogTag: Fri Sep 02 13:21:30 2005 Gary Maxey <gary.maxey@hp.com>
Diffstat (limited to 'TAO/performance-tests/Sequence_Latency/Deferred')
-rw-r--r--TAO/performance-tests/Sequence_Latency/Deferred/client.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp b/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp
index 5296a210893..5525b3a0c88 100644
--- a/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp
@@ -138,7 +138,7 @@ test_octet_seq (Test::Roundtrip_ptr roundtrip ACE_ENV_ARG_DECL)
if ((request[j]->return_value () >>= retval) == 1)
{
ACE_hrtime_t now = ACE_OS::gethrtime ();
- history.sample (now - retval);
+ history.sample (ACE_HRTIME_TO_U64(now) - retval);
}
}
}
@@ -211,7 +211,7 @@ test_long_seq (Test::Roundtrip_ptr roundtrip ACE_ENV_ARG_DECL)
if ((request[j]->return_value () >>= retval) == 1)
{
ACE_hrtime_t now = ACE_OS::gethrtime ();
- history.sample (now - retval);
+ history.sample (ACE_HRTIME_TO_U64(now) - retval);
}
}
}
@@ -284,7 +284,7 @@ test_short_seq (Test::Roundtrip_ptr roundtrip ACE_ENV_ARG_DECL)
if ((request[j]->return_value () >>= retval) == 1)
{
ACE_hrtime_t now = ACE_OS::gethrtime ();
- history.sample (now - retval);
+ history.sample (ACE_HRTIME_TO_U64(now) - retval);
}
}
}
@@ -357,7 +357,7 @@ test_char_seq (Test::Roundtrip_ptr roundtrip ACE_ENV_ARG_DECL)
if ((request[j]->return_value () >>= retval) == 1)
{
ACE_hrtime_t now = ACE_OS::gethrtime ();
- history.sample (now - retval);
+ history.sample (ACE_HRTIME_TO_U64(now) - retval);
}
}
}
@@ -430,7 +430,7 @@ test_longlong_seq (Test::Roundtrip_ptr roundtrip ACE_ENV_ARG_DECL)
if ((request[j]->return_value () >>= retval) == 1)
{
ACE_hrtime_t now = ACE_OS::gethrtime ();
- history.sample (now - retval);
+ history.sample (ACE_HRTIME_TO_U64(now) - retval);
}
}
}
@@ -503,7 +503,7 @@ test_double_seq (Test::Roundtrip_ptr roundtrip ACE_ENV_ARG_DECL)
if ((request[j]->return_value () >>= retval) == 1)
{
ACE_hrtime_t now = ACE_OS::gethrtime ();
- history.sample (now - retval);
+ history.sample (ACE_HRTIME_TO_U64(now) - retval);
}
}
}