summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/test_i.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-26 18:32:32 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-26 18:32:32 +0000
commit040a2116f79cbd111a16b698a94f2116e8d9aecb (patch)
tree40f43ecf50497512d340f015d4d4da867344a086 /TAO/performance-tests/Latency/test_i.cpp
parentd250382b94cf6386d8affa36cff374fb21c94a51 (diff)
downloadATCD-ami_phase4.tar.gz
ChangeLogTag:Mon Jul 26 13:18:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu>ami_phase4
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)