diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-04-26 13:27:33 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-04-26 13:27:33 +0000 |
commit | 73604c605582df8f5341baa1d17bed5475fbbca6 (patch) | |
tree | 2be5082b4082ba4b21b1caf0a0e67430231c3e54 | |
parent | 9f0ba8f70bc8604481de4ba145bc7c0efd0a3a84 (diff) | |
download | ATCD-73604c605582df8f5341baa1d17bed5475fbbca6.tar.gz |
ChangeLogTag:Sat Apr 26 08:25:57 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | performance-tests/SCTP/SOCK_SEQPACK_clt.cpp | 7 | ||||
-rw-r--r-- | performance-tests/SCTP/SOCK_STREAM_clt.cpp | 6 |
3 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 7398d06bec6..07c3fa4dc98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Apr 26 08:25:57 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * performance-tests/SCTP/SOCK_SEQPACK_clt.cpp: + * performance-tests/SCTP/SOCK_STREAM_clt.cpp: Fixed compile + errors. + Sat Apr 26 10:42:56 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl> * tests/Reactor_Exceptions_Test.cpp: diff --git a/performance-tests/SCTP/SOCK_SEQPACK_clt.cpp b/performance-tests/SCTP/SOCK_SEQPACK_clt.cpp index 3097097e38d..2d910b86253 100644 --- a/performance-tests/SCTP/SOCK_SEQPACK_clt.cpp +++ b/performance-tests/SCTP/SOCK_SEQPACK_clt.cpp @@ -276,10 +276,11 @@ HIST runUnmarshalledOctetTest(ACE_CDR::Octet *buf, size_t seqLen, ACE_SOCK_SEQPA // sends the test information to the server and calls the correct test // function. -HIST runTest(ACE_SOCK_SEQPACK_Association & stream){ - +HIST runTest(ACE_SOCK_SEQPACK_Association & stream) +{ size_t msgLen = - static_cast<int>(pow(2.0, Options_Manager::payload_size_power_of_2)); + Options_Manager::payload_size_power_of_2 * + Options_Manager::payload_size_power_of_2; // send a header to the server that contains test parameters if (sendHeader(stream) < 0) diff --git a/performance-tests/SCTP/SOCK_STREAM_clt.cpp b/performance-tests/SCTP/SOCK_STREAM_clt.cpp index aad3041c48f..730926328fc 100644 --- a/performance-tests/SCTP/SOCK_STREAM_clt.cpp +++ b/performance-tests/SCTP/SOCK_STREAM_clt.cpp @@ -285,10 +285,12 @@ HIST runUnmarshalledOctetTest(ACE_CDR::Octet *buf, size_t seqLen, ACE_SOCK_Strea // sends the test information to the server and calls the correct test // function. -HIST runTest(ACE_SOCK_Stream & stream){ +HIST runTest(ACE_SOCK_Stream & stream) +{ size_t msgLen = - static_cast<int>(pow(2.0, Options_Manager::payload_size_power_of_2)); + Options_Manager::payload_size_power_of_2 * + Options_Manager::payload_size_power_of_2; // send a header to the server that contains test parameters if (sendHeader(stream) < 0) |