removed debug memory checks.
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 5 Dec 2005 06:20:07 +0000 (06:20 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 5 Dec 2005 06:20:07 +0000 (06:20 +0000)
src/ck-ldb/GreedyLB.C

index c8cd075994508b5ef12931674c6b9e2e349064bd..7ed9e572c574861966a8888111b28a3f5af019f0 100644 (file)
@@ -188,15 +188,12 @@ void GreedyLB::work(BaseLB::LDStats* stats, int count)
 {
   int  obj, heapSize, objCount;
   int *pemap = new int [count];
-       CmiMemoryCheck();
   HeapData *cpuData = BuildCpuArray(stats, count, &heapSize);
-       CmiMemoryCheck();
   HeapData *objData = BuildObjectArray(stats, count, &objCount);
   if (_lb_args.debug()>1) 
     CkPrintf("[%d] In GreedyLB strategy\n",CkMyPe());
   heapSize--;
   for (obj=0; obj < objCount; obj++) {
-               CmiMemoryCheck();
     HeapData minCpu;  
     // Operation of extracting the least loaded processor
     // from the heap
@@ -204,7 +201,6 @@ void GreedyLB::work(BaseLB::LDStats* stats, int count)
     cpuData[0] = cpuData[heapSize];
     heapSize--;
     Heapify(cpuData, 0, heapSize, LT);    
-               CmiMemoryCheck();
 
     // Increment the time of the least loaded processor by the cpuTime of
     // the `heaviest' object
@@ -228,7 +224,6 @@ void GreedyLB::work(BaseLB::LDStats* stats, int count)
       location = (location-1)/2;
     }
     cpuData[location] = minCpu;
-               CmiMemoryCheck();
   }
 
   delete [] cpuData;