diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-02-23 08:13:54 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-02-23 08:13:54 +0000 |
commit | 9e0c787fa5e6f12a560266a36f67039d3ec026ce (patch) | |
tree | f94e0e87430c38e5ad48d4b03b94919bf58dd922 /TAO/performance-tests | |
parent | 8cd362c15bbf8504ded0cf5cc9356cfe4ffe2c93 (diff) | |
download | ATCD-9e0c787fa5e6f12a560266a36f67039d3ec026ce.tar.gz |
Mon Feb 23 08:08:15 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/performance-tests')
9 files changed, 24 insertions, 24 deletions
diff --git a/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.cpp b/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.cpp index a6d283a04fd..e9c076a49ea 100644 --- a/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.cpp +++ b/TAO/performance-tests/CSD_Strategy/TestApps/ClientApp.cpp @@ -158,7 +158,7 @@ ClientApp::arg_dependency_checks() { ACE_ERROR((LM_ERROR, "Error: Required command-line option (-n <client id>).\n" - " The client id should be positive integer. \n")); + " The client id should be positive integer.\n")); this->usage_statement(); return -1; } diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp index a4c787de59f..ff17f55bab5 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp @@ -975,7 +975,7 @@ Cubit_Client::cube_rti_data (int, if (TAO_debug_level > 0) { ACE_DEBUG ((LM_DEBUG, - "Input: \n")); + "Input:\n")); print_RtiPacket (input); } @@ -992,7 +992,7 @@ Cubit_Client::cube_rti_data (int, { ACE_DEBUG ((LM_DEBUG, - "Output: \n")); + "Output:\n")); print_RtiPacket (*vout.ptr ()); @@ -1045,7 +1045,7 @@ Cubit_Client::cube_any (int i) if (arg_long != ret_long) { ACE_ERROR ((LM_ERROR, - "** cube_any(%d) ERROR (got %d, expect %d) \n", + "** cube_any(%d) ERROR (got %d, expect %d)\n", (CORBA::Long) this->func (i), ret_long, arg_long)); diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp index eaf8a8140f2..ae8fce95a5b 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.cpp @@ -360,7 +360,7 @@ Cubit_i::cube_rti_data (const Cubit::RtiPacket &input, if (TAO_debug_level > 0) { ACE_DEBUG ((LM_DEBUG, - "Input: \n")); + "Input:\n")); print_RtiPacket (input); } @@ -375,7 +375,7 @@ Cubit_i::cube_rti_data (const Cubit::RtiPacket &input, if (TAO_debug_level > 0) { ACE_DEBUG ((LM_DEBUG, - "Output: \n")); + "Output:\n")); print_RtiPacket (*output.ptr ()); } } diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp index e94b583dd38..9a208bc2eea 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.cpp @@ -6,7 +6,7 @@ void print_RtiPacket (Cubit::RtiPacket const &arg) { - ACE_DEBUG ((LM_DEBUG, + ACE_DEBUG ((LM_DEBUG, "packetHeader.packetLength %d\n" "packetHeader.federationHandle %d\n" "packetHeader.channelHandle %d\n" @@ -16,7 +16,7 @@ print_RtiPacket (Cubit::RtiPacket const &arg) arg.packetHeader.channelHandle, arg.packetHeader.packetColor)); - for (CORBA::ULong j = 0; j < arg.msgs.length (); ++j) + for (CORBA::ULong j = 0; j < arg.msgs.length (); ++j) { ACE_DEBUG ((LM_DEBUG, "* message * %d\n", @@ -25,12 +25,12 @@ print_RtiPacket (Cubit::RtiPacket const &arg) Cubit::RtiObjectUpdateMessageHeader const &oumh = arg.msgs[j].oumh (); ACE_DEBUG ((LM_DEBUG, - "\tupdateLength: %d\n" + "\tupdateLength: %d\n" "\tupdateTag: %d\n" - "\tobjectHandle: %d\n" + "\tobjectHandle: %d\n" "\ttimestamp: %f\n" - //"\teventRetractionHandle: \n" - "\tclassHandle: %d\n" + //"\teventRetractionHandle:\n" + "\tclassHandle: %d\n" "\tsendingFederateHandle: %d\n" "\tuserTag: %s\n" "\ttransportationHandle: %x\n" @@ -46,7 +46,7 @@ print_RtiPacket (Cubit::RtiPacket const &arg) oumh.transportationHandle, oumh.orderingHandle)); - for (CORBA::ULong k = 0; k < oumh.messagePayload.length (); ++k) + for (CORBA::ULong k = 0; k < oumh.messagePayload.length (); ++k) { Cubit::HandleValuePair const & hvp=oumh.messagePayload[k]; ACE_DEBUG ((LM_DEBUG, "\t\thandle: %d\n", hvp.handle)); diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp index 664254a8b1e..3ce978c9347 100644 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Globals.cpp @@ -61,7 +61,7 @@ Globals::parse_args (int argc, ACE_TCHAR *argv[]) "[-t <number_of_servants>] // # of servant threads to create \n\t\t\t" "[-f <ior_file> ] // specify a file to output all ior's \n\t\t\t" "[-m ] // Use multiple priorities for threads\n\t\t\t" - "[-r ] // Run the thread-per-rate test \n" + "[-r ] // Run the thread-per-rate test \n" ,argv [0]), -1); } diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp index b135c758168..1c210efa808 100644 --- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp +++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Task_Client.cpp @@ -144,7 +144,7 @@ Task_State::parse_args (int argc,ACE_TCHAR *argv[]) "[-g <granularity>] // choose the granularity of the timing of CORBA calls \n\t\t\t" "[-c] // run the number of context switches test. \n\t\t\t" "[-l] // use direct function calls, as opposed to CORBA requests. ONLY to be used with -u option.\n\t\t\t" - "[-m] // use multiple priorities for the low priority clients. \n" + "[-m] // use multiple priorities for the low priority clients. \n" ,argv [0])); return -1; } diff --git a/TAO/performance-tests/Memory/IORsize/Memory_Growth.cpp b/TAO/performance-tests/Memory/IORsize/Memory_Growth.cpp index 9dadc696535..bc96aa14c43 100644 --- a/TAO/performance-tests/Memory/IORsize/Memory_Growth.cpp +++ b/TAO/performance-tests/Memory/IORsize/Memory_Growth.cpp @@ -20,12 +20,12 @@ Memory_Growth::send_objref (const Test::PayLoad & /*p*/ ACE_Manual_Event me; ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Going to wait .. \n")); + "(%P|%t) Going to wait ..\n")); me.wait (); ACE_DEBUG ((LM_DEBUG, - "(%P|%t) Wokeup from wait .. \n")); + "(%P|%t) Wokeup from wait ..\n")); return; } diff --git a/TAO/performance-tests/POA/Demux/demux_test_server.cpp b/TAO/performance-tests/POA/Demux/demux_test_server.cpp index 5472b29e5f1..986c3735279 100644 --- a/TAO/performance-tests/POA/Demux/demux_test_server.cpp +++ b/TAO/performance-tests/POA/Demux/demux_test_server.cpp @@ -129,7 +129,7 @@ Demux_Test_Server::init (int argc, ACE_TCHAR *argv []) if (this->use_user_id_) { ACE_DEBUG ((LM_DEBUG, - "Using the USER_ID policy ... \n")); + "Using the USER_ID policy ...\n")); policies[0] = this->root_poa_->create_id_assignment_policy (PortableServer::USER_ID); @@ -137,7 +137,7 @@ Demux_Test_Server::init (int argc, ACE_TCHAR *argv []) else { ACE_DEBUG ((LM_DEBUG, - "Using the SYSTEM_ID policy ... \n")); + "Using the SYSTEM_ID policy ...\n")); policies[0] = this->root_poa_->create_id_assignment_policy (PortableServer::SYSTEM_ID); @@ -411,7 +411,7 @@ Demux_Test_Server::init_naming_service (void) if (this->my_name_client_.init (this->orb_.in ()) == -1) ACE_ERROR_RETURN ((LM_ERROR, " (%P|%t) Unable to initialize " - "the ACE_Naming_Client. \n"), + "the ACE_Naming_Client.\n"), -1); // success diff --git a/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp b/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp index 22b55b519ca..e723a7ad997 100644 --- a/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp +++ b/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp @@ -128,10 +128,10 @@ print_stats (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time) double tmp = 1000 / elapsed_time.real_time; ACE_DEBUG ((LM_DEBUG, - "\titerations\t = %d, \n" - "\treal_time\t = %0.06f ms, \n" - "\tuser_time\t = %0.06f ms, \n" - "\tsystem_time\t = %0.06f ms, \n" + "\titerations\t = %d,\n" + "\treal_time\t = %0.06f ms,\n" + "\tuser_time\t = %0.06f ms,\n" + "\tsystem_time\t = %0.06f ms,\n" "\t%0.00f calls/second\n", iterations, elapsed_time.real_time < 0.0 ? 0.0 : elapsed_time.real_time, |