diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-10 19:02:33 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-10 19:02:33 +0000 |
commit | 0f0c1b7ec2c4acd6e9078bc7ff3177a971fdc98e (patch) | |
tree | ea297c8dd5329ec92a0b500969276dfe5dbb2b26 | |
parent | 88612b821c2b9891f2e9f37327b02d7a4e48f786 (diff) | |
download | ATCD-0f0c1b7ec2c4acd6e9078bc7ff3177a971fdc98e.tar.gz |
ChangeLogTag:Mon Dec 10 10:56:42 2001 Carlos O'Ryan <coryan@uci.edu>
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 7 | ||||
-rw-r--r-- | TAO/orbsvcs/performance-tests/EC_Scalability/client.cpp | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 7524765ba06..deb50ab56c7 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,10 @@ +Mon Dec 10 10:56:42 2001 Carlos O'Ryan <coryan@uci.edu> + + * orbsvcs/performance-tests/EC_Scalability/client.cpp: + MSVC6 has broken scope rules for variables declared inside a + for-loop, fixed. + Fixed unsigned/signed comparison. + Sun Dec 09 22:29:16 2001 Carlos O'Ryan <coryan@uci.edu> * tao/GIOP_Message_Generator_Parser_10.cpp: diff --git a/TAO/orbsvcs/performance-tests/EC_Scalability/client.cpp b/TAO/orbsvcs/performance-tests/EC_Scalability/client.cpp index 9de742cb799..a2db7e00df0 100644 --- a/TAO/orbsvcs/performance-tests/EC_Scalability/client.cpp +++ b/TAO/orbsvcs/performance-tests/EC_Scalability/client.cpp @@ -129,7 +129,8 @@ main (int argc, char *argv []) ACE_NEW_RETURN (consumer_impl, ECS_Consumer*[consumer_count], 1); - for (int i = 0; i != consumer_count; ++i) + int i; + for (i = 0; i != consumer_count; ++i) { ACE_NEW_RETURN (consumer_impl[i], ECS_Consumer (iterations), @@ -160,7 +161,7 @@ main (int argc, char *argv []) // event[0].data.payload.length(1024); ACE_hrtime_t start = ACE_OS::gethrtime (); - for (int i = 0; i != iterations; ++i) + for (i = 0; i != iterations; ++i) { ACE_hrtime_t creation = ACE_OS::gethrtime (); ORBSVCS_Time::hrtime_to_TimeT (event[0].header.creation_time, @@ -171,7 +172,7 @@ main (int argc, char *argv []) } ACE_hrtime_t end = ACE_OS::gethrtime (); - for (int i = 0; i != consumer_count; ++i) + for (i = 0; i != consumer_count; ++i) { consumer_impl[i]->disconnect (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; @@ -188,7 +189,7 @@ main (int argc, char *argv []) ACE_DEBUG ((LM_DEBUG, "Done (%d)\n", gsf)); ACE_Sample_History history (iterations); - for (size_t j = 0; j != iterations; ++j) + for (int j = 0; j != iterations; ++j) { ACE_UINT64 value = 0; for (int i = 0; i != consumer_count; ++i) |