diff options
-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) |