summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.h
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-07-01 18:10:49 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-07-01 18:10:49 (GMT)
commit142edf8ad4baccd991a6a8a3e5283d0b575acca2 (patch)
treee8988d1c876784724fa27ca95eb98f3d6e8b9d0d /Source/CTest/cmCTestMultiProcessHandler.h
parent6ebb4843a6414acc6118e916b973f591fe481c8b (diff)
downloadCMake-142edf8ad4baccd991a6a8a3e5283d0b575acca2.zip
CMake-142edf8ad4baccd991a6a8a3e5283d0b575acca2.tar.gz
CMake-142edf8ad4baccd991a6a8a3e5283d0b575acca2.tar.bz2
More robust cost-based scheduling impl
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h
index 4f51b0b..cc330f7 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.h
+++ b/Source/CTest/cmCTestMultiProcessHandler.h
@@ -23,10 +23,11 @@
*/
class cmCTestMultiProcessHandler
{
+ friend class TestComparator;
public:
struct TestSet : public std::set<int> {};
struct TestMap : public std::map<int, TestSet> {};
- struct TestCostMap : public std::map<float, TestSet> {};
+ struct TestList : public std::vector<int> {};
struct PropertiesMap : public
std::map<int, cmCTestTestHandler::cmCTestTestProperties*> {};
@@ -88,7 +89,7 @@ protected:
void UnlockResources(int index);
// map from test number to set of depend tests
TestMap Tests;
- TestCostMap TestCosts;
+ TestList SortedTests;
//Total number of tests we'll be running
size_t Total;
//Number of tests that are complete