summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2008-06-16 11:26:55 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2008-06-16 11:26:55 +0000
commit58fdcc724e49fcc4e6a77f03929b5be4686a0f4d (patch)
treeadbcb1492e03ce40b2b9851756ffe3cf00381b82 /TAO/performance-tests/Cubit
parentad0dbb3312051d8fbf71a76ec868fc84c0f8c811 (diff)
downloadATCD-58fdcc724e49fcc4e6a77f03929b5be4686a0f4d.tar.gz
Mon Jun 16 11:25:06 UTC 2008 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/performance-tests/Cubit')
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp16
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/server.cpp2
2 files changed, 9 insertions, 9 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp
index 98564ca9266..1dc063802cc 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp
@@ -45,8 +45,8 @@ Util_Thread::svc (void)
this->ts_->timer_.stop ();
ACE_DEBUG ((LM_DEBUG,
- "(%t) (((((((( "
- "utilization test ENDED at %D\n"));
+ "(%t) (((((((( "
+ "utilization test ENDED at %D\n"));
return 0;
}
@@ -84,12 +84,12 @@ Util_Thread::run_computations (void)
{
// Bound the number of computations, since we can potentially
// block the machine if this thread never leaves the loop.
- if (this->number_of_computations_ > (ts_->loop_count_ * UTIL_BOUND_CONSTANT))
- {
- ACE_DEBUG ((LM_DEBUG,
- "\t(%t) utilization test breaking loop so machine won't block.\n"));
- break;
- }
+ if (this->number_of_computations_ > (ts_->loop_count_ * UTIL_BOUND_CONSTANT))
+ {
+ ACE_DEBUG ((LM_DEBUG,
+ "\t(%t) utilization test breaking loop so machine won't block.\n"));
+ break;
+ }
this->computation ();
this->number_of_computations_++;
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/server.cpp b/TAO/performance-tests/Cubit/TAO/MT_Cubit/server.cpp
index 52c17f15c31..a293d6257fc 100644
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/server.cpp
+++ b/TAO/performance-tests/Cubit/TAO/MT_Cubit/server.cpp
@@ -385,7 +385,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
// run the server.
result = server.run ();
ACE_DEBUG ((LM_DEBUG,
- "%s:%d\n", __FILE__, __LINE__));
+ "%s:%d\n", __FILE__, __LINE__));
if (result != 0)
ACE_ERROR_RETURN ((LM_ERROR,
"Error while running the servants\n"),