summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authornw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-03 04:42:27 +0000
committernw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-03 04:42:27 +0000
commitad06ddfcbb268fe12db10f53c000130845825f7c (patch)
tree9e94fefffbb9801824fdd865c3edcd881917791a /performance-tests
parentd942f38ab209b09c03a11715605e02a3387482b3 (diff)
downloadATCD-ad06ddfcbb268fe12db10f53c000130845825f7c.tar.gz
*** empty log message ***
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/childbirth_time.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/performance-tests/Misc/childbirth_time.cpp b/performance-tests/Misc/childbirth_time.cpp
index a77e26c8df7..31447b04e69 100644
--- a/performance-tests/Misc/childbirth_time.cpp
+++ b/performance-tests/Misc/childbirth_time.cpp
@@ -169,7 +169,7 @@ prof_native_thread (int iteration)
for (size_t i = 0; i < iteration; i++)
{
ptimer.start ();
- for (size_T j = 0; j < MULTIPLY_FACTOR; j++)
+ for (size_t j = 0; j < MULTIPLY_FACTOR; j++)
{
#if defined (ACE_HAS_WTHREADS)
if (::CreateThread (NULL,
@@ -216,7 +216,7 @@ prof_ace_os_thread (int iteration)
{
ptimer.start ();
- for (size_t j == 0; j < MULTIPLY_FACTOR; j++)
+ for (size_t j = 0; j < MULTIPLY_FACTOR; j++)
if (ACE_OS::thr_create (empty,
0,
THR_SUSPENDED,
@@ -253,7 +253,7 @@ main (int argc, char* argv[])
case 'n':
iteration = ACE_OS::atoi (get_opt.optarg);
break;
- case 'p': // *DON'T* test ACE_Process.spawn ()
+ case 'p': // test ACE_Process.spawn ()
profiler = prof_ace_process;
profile_name = "ACE_Process.spawn ()";
break;
@@ -281,7 +281,7 @@ main (int argc, char* argv[])
}
if (profiler == 0)
- ACE_ERROR_RETURN ((LM_ERROR, "Usage: profile_childbirth {-p|-f|-t|-a} [-n ###] [-h] [-e]\n"), 1);
+ ACE_ERROR_RETURN ((LM_ERROR, "Usage: childbirth_time {-p|-f|-t|-a} [-n ###] [-h] [-e]\n"), 1);
else
{
double time = profiler (iteration);