summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/test_i.cpp')
-rw-r--r--TAO/performance-tests/Latency/test_i.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/performance-tests/Latency/test_i.cpp b/TAO/performance-tests/Latency/test_i.cpp
index 45bf053db87..0401c153c6b 100644
--- a/TAO/performance-tests/Latency/test_i.cpp
+++ b/TAO/performance-tests/Latency/test_i.cpp
@@ -9,8 +9,9 @@
ACE_RCSID(Latency, test_i, "$Id$")
-void
-Test_i::test_method (CORBA::Environment&) ACE_THROW_SPEC (())
+CORBA::ULongLong
+Test_i::test_method (CORBA::ULongLong stamp,
+ CORBA::Environment&) ACE_THROW_SPEC (())
{
ACE_Time_Value tv (0, 0);
for (int i = 0; i != this->workload_; ++i)
@@ -19,13 +20,14 @@ Test_i::test_method (CORBA::Environment&) ACE_THROW_SPEC (())
ACE::is_prime (n, 2, n / 2);
ACE_OS::sleep (tv);
}
+ return stamp;
}
void
Test_i::time_stamp (CORBA::ULong &, CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
-}
+}
void
Test_i::shutdown (CORBA::Environment& ACE_TRY_ENV)