2 /// A simple module to avoid namespace pollution
5 /// Use a timestamp to measure the roundtrip delay
6 typedef unsigned long long Timestamp
;
8 typedef sequence
<octet
> octet_load
;
9 typedef sequence
<long> long_load
;
10 typedef sequence
<char> char_load
;
11 typedef sequence
<short> short_load
;
12 typedef sequence
<long long> longlong_load
;
13 typedef sequence
<double> double_load
;
15 /// Measure roundtrip delay
18 /// A simple method to measure roundtrip delays
20 * The operation simply returns one of its argument, this is used
21 * in AMI and deferred synchronous tests to measure the roundtrip
22 * delay without the need for a different reply handler for each
25 Timestamp test_octet_method
(in octet_load ol
,
26 in Timestamp send_time
);
28 Timestamp test_long_method
(in long_load ol
,
29 in Timestamp send_time
);
31 Timestamp test_short_method
(in short_load ol
,
32 in Timestamp send_time
);
34 Timestamp test_char_method
(in char_load ol
,
35 in Timestamp send_time
);
37 Timestamp test_longlong_method
(in longlong_load ol
,
38 in Timestamp send_time
);
40 Timestamp test_double_method
(in double_load ol
,
41 in Timestamp send_time
);