summaryrefslogtreecommitdiff
path: root/ACE/performance-tests
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/performance-tests')
-rw-r--r--ACE/performance-tests/RPC/client.cpp1
-rw-r--r--ACE/performance-tests/SCTP/Options_Manager.cpp2
-rw-r--r--ACE/performance-tests/SCTP/SOCK_SEQPACK_Association_Test.cpp3
-rw-r--r--ACE/performance-tests/SCTP/SOCK_SEQPACK_srv.cpp3
-rw-r--r--ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp3
-rw-r--r--ACE/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp1
6 files changed, 0 insertions, 13 deletions
diff --git a/ACE/performance-tests/RPC/client.cpp b/ACE/performance-tests/RPC/client.cpp
index c55671bf358..5481f774054 100644
--- a/ACE/performance-tests/RPC/client.cpp
+++ b/ACE/performance-tests/RPC/client.cpp
@@ -58,7 +58,6 @@ int ACE_TMAIN (int argc, ACE_TCHAR* argv[])
throughput.sample (end - test_start,
end - start);
-
}
ACE_DEBUG ((LM_DEBUG, "Calibrating high resolution timer . . ."));
diff --git a/ACE/performance-tests/SCTP/Options_Manager.cpp b/ACE/performance-tests/SCTP/Options_Manager.cpp
index e8b774fb973..acd9373de2c 100644
--- a/ACE/performance-tests/SCTP/Options_Manager.cpp
+++ b/ACE/performance-tests/SCTP/Options_Manager.cpp
@@ -501,7 +501,6 @@ void Options_Manager::_show_usage(FILE* out, ACE_TCHAR const * const opts_set)
ACE_OS::fprintf (out, " -h none help\n");
ACE_OS::fprintf (out, "\n");
-
} else if (!ACE_OS::strcmp(ACE_TEXT ("server-opts"), opts_set)){
ACE_OS::fprintf (out, " Flag Args Option-Name Default\n"
" -n none test-enable-nagle NO NAGLING\n");
@@ -525,7 +524,6 @@ void Options_Manager::_show_usage(FILE* out, ACE_TCHAR const * const opts_set)
ACE_OS::fprintf (out, " -h none help\n");
ACE_OS::fprintf (out, "\n");
-
} else {
ACE_OS::fprintf (out, "Invalid options set specified.\n");
}
diff --git a/ACE/performance-tests/SCTP/SOCK_SEQPACK_Association_Test.cpp b/ACE/performance-tests/SCTP/SOCK_SEQPACK_Association_Test.cpp
index 62323a4ed9d..c677a757f0f 100644
--- a/ACE/performance-tests/SCTP/SOCK_SEQPACK_Association_Test.cpp
+++ b/ACE/performance-tests/SCTP/SOCK_SEQPACK_Association_Test.cpp
@@ -40,19 +40,16 @@ int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("Usage: SOCK_SEQPACK_Association_Test hostname:port\n")));
status = 1;
-
} else if (serverAddr.set(argv[1])) {
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("%p\n"),
ACE_TEXT ("ACE_INET_Addr::set")));
status = 1;
-
} else if (connector.connect (dataStream, serverAddr)) {
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("%p\n"),
ACE_TEXT ("ACE_SOCK_SEQPACK_Connector::connect")));
status = 1;
-
} else {
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("Connected to server at %s\n"),
diff --git a/ACE/performance-tests/SCTP/SOCK_SEQPACK_srv.cpp b/ACE/performance-tests/SCTP/SOCK_SEQPACK_srv.cpp
index 39d85149848..6cd98f45771 100644
--- a/ACE/performance-tests/SCTP/SOCK_SEQPACK_srv.cpp
+++ b/ACE/performance-tests/SCTP/SOCK_SEQPACK_srv.cpp
@@ -87,7 +87,6 @@ static ACE_THR_FUNC_RETURN unmarshalledOctetServer (void *arg){
ACE_TEXT ("%p\n"),
ACE_TEXT ("send_n")),
0);
-
} while (--numIterations);
// close and destroy the stream
@@ -326,7 +325,6 @@ int ACE_TMAIN (int argc, ACE_TCHAR **argv){
else if (result == 0){
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) select timed out\n")));
-
}
else { // case where a file descriptor was actually set
if (!(temp.is_set(acceptor_socket.get_handle()))){
@@ -345,7 +343,6 @@ int ACE_TMAIN (int argc, ACE_TCHAR **argv){
else{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) spawning server\n")));
-
}
// Run the server.
run_server (new_stream.get_handle ());
diff --git a/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp b/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
index dfffbfa51b1..cfffabcb2d7 100644
--- a/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
+++ b/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
@@ -85,7 +85,6 @@ static ACE_THR_FUNC_RETURN unmarshalledOctetServer (void *arg){
ACE_TEXT ("%p\n"),
ACE_TEXT ("send_n")),
0);
-
} while (--numIterations);
// close and destroy the stream
@@ -321,7 +320,6 @@ int ACE_TMAIN (int argc, ACE_TCHAR **argv){
else if (result == 0){
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) select timed out\n")));
-
}
else { // case where a file descriptor was actually set
if (!(temp.is_set(acceptor_socket.get_handle()))){
@@ -340,7 +338,6 @@ int ACE_TMAIN (int argc, ACE_TCHAR **argv){
else{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) spawning server\n")));
-
}
// Run the server.
run_server (new_stream.get_handle ());
diff --git a/ACE/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp b/ACE/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp
index 3189225a48b..b84300798a8 100644
--- a/ACE/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp
+++ b/ACE/performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp
@@ -713,7 +713,6 @@ read_timer (char *str, int len)
{
perror ("Getting 'itimer' REAL failed");
return (0.0);
-
}
fprintf(stdout, "End transaction time = %d sec and %d usec\n", itimedol.it_value.tv_sec, itimedol.it_value.tv_usec);
prusage (&ru0, &ru1, &itime0.it_value, &itimedol.it_value, line);