summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Sequence_Latency/AMI/Test.idl
diff options
context:
space:
mode:
authordengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-19 15:14:44 +0000
committerdengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-06-19 15:14:44 +0000
commit3c903ddd864f8ddf8b03fee0ceda34e0e83ff9d0 (patch)
tree9a983c5b66a076878232817ef46ef4d419b4c1f8 /TAO/performance-tests/Sequence_Latency/AMI/Test.idl
parent622570d92335c2da851594ce19a6364064d1fab8 (diff)
downloadATCD-3c903ddd864f8ddf8b03fee0ceda34e0e83ff9d0.tar.gz
ChangeLogTag: Thu Jun 19 09:55:55 2003 Gan Deng <gan.deng@vanderbilt.edu>
Diffstat (limited to 'TAO/performance-tests/Sequence_Latency/AMI/Test.idl')
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMI/Test.idl49
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/performance-tests/Sequence_Latency/AMI/Test.idl b/TAO/performance-tests/Sequence_Latency/AMI/Test.idl
new file mode 100644
index 00000000000..8589f1e7a79
--- /dev/null
+++ b/TAO/performance-tests/Sequence_Latency/AMI/Test.idl
@@ -0,0 +1,49 @@
+//
+// $Id$
+//
+
+/// A simple module to avoid namespace pollution
+module Test
+{
+ /// Use a timestamp to measure the roundtrip delay
+ typedef unsigned long long Timestamp;
+
+ typedef sequence<octet> octet_load;
+ typedef sequence<long> long_load;
+ typedef sequence<char> char_load;
+ typedef sequence<short> short_load;
+ typedef sequence<long long> longlong_load;
+ typedef sequence<double> double_load;
+
+ /// Measure roundtrip delay
+ interface Roundtrip
+ {
+ /// A simple method to measure roundtrip delays
+ /**
+ * The operation simply returns one of its argument, this is used
+ * in AMI and deferred synchronous tests to measure the roundtrip
+ * delay without the need for a different reply handler for each
+ * request.
+ */
+ Timestamp test_octet_method (in octet_load ol,
+ in Timestamp send_time);
+
+ Timestamp test_long_method (in long_load ol,
+ in Timestamp send_time);
+
+ Timestamp test_short_method (in short_load ol,
+ in Timestamp send_time);
+
+ Timestamp test_char_method (in char_load ol,
+ in Timestamp send_time);
+
+ Timestamp test_longlong_method (in longlong_load ol,
+ in Timestamp send_time);
+
+ Timestamp test_double_method (in double_load ol,
+ in Timestamp send_time);
+
+ /// Shutdown the ORB
+ void shutdown ();
+ };
+};