diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-03 04:42:27 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-03 04:42:27 +0000 |
commit | ad06ddfcbb268fe12db10f53c000130845825f7c (patch) | |
tree | 9e94fefffbb9801824fdd865c3edcd881917791a | |
parent | d942f38ab209b09c03a11715605e02a3387482b3 (diff) | |
download | ATCD-ad06ddfcbb268fe12db10f53c000130845825f7c.tar.gz |
*** empty log message ***
-rw-r--r-- | ChangeLog-97a | 4 | ||||
-rw-r--r-- | performance-tests/Misc/childbirth_time.cpp | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog-97a b/ChangeLog-97a index 597d138254d..970a1811208 100644 --- a/ChangeLog-97a +++ b/ChangeLog-97a @@ -1,3 +1,7 @@ +Wed Jul 2 23:41:43 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu> + + * performance-tests/Misc/childbirth_time.cpp: Fixed some typos. + Wed Jul 2 23:13:10 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> * performance-tests/Misc/childbirth_time.cpp: Revised the 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); |