summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-26 19:20:28 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-26 19:20:28 +0000
commit8986eb740fa9650e6c7a7943ce6a2ff57d84c74c (patch)
tree11619e13080945190f4fd594a465d3a81ec9b2ad /performance-tests
parent14385056a08dd468a1967d987ace7cc69dd1675c (diff)
downloadATCD-8986eb740fa9650e6c7a7943ce6a2ff57d84c74c.tar.gz
(prof_native_thread,prof_ace_os_thread): changed type of local j to int to avoid signed/unsigned comparison
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/childbirth_time.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/performance-tests/Misc/childbirth_time.cpp b/performance-tests/Misc/childbirth_time.cpp
index dbfc17edcc3..6895eaf85bb 100644
--- a/performance-tests/Misc/childbirth_time.cpp
+++ b/performance-tests/Misc/childbirth_time.cpp
@@ -171,7 +171,7 @@ prof_native_thread (size_t iteration)
for (size_t i = 0; i < iteration; i++)
{
ptimer.start ();
- for (size_t j = 0; j < MULTIPLY_FACTOR; j++)
+ for (int j = 0; j < MULTIPLY_FACTOR; j++)
{
#if defined (ACE_HAS_WTHREADS)
if (::CreateThread (NULL,
@@ -219,7 +219,7 @@ prof_ace_os_thread (size_t iteration)
{
ptimer.start ();
- for (size_t j = 0; j < MULTIPLY_FACTOR; j++)
+ for (int j = 0; j < MULTIPLY_FACTOR; j++)
if (ACE_OS::thr_create ((ACE_THR_FUNC) empty,
0,
THR_SUSPENDED,