diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-02-25 21:23:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-02-26 16:02:05 (GMT) |
commit | b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3 (patch) | |
tree | 68d044c519a253948acbb09809078163dd4df63d /Source/CTest/cmCTestMultiProcessHandler.h | |
parent | 55f012989c1aadd9dac1036c2e27df1853243392 (diff) | |
download | CMake-b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3.zip CMake-b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3.tar.gz CMake-b4d27dc041c9164d6f3ad39e192f4b7d116ca3b3.tar.bz2 |
Use historical average of test times to schedule tests.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.h')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.h b/Source/CTest/cmCTestMultiProcessHandler.h index 16591b0..6136103 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.h +++ b/Source/CTest/cmCTestMultiProcessHandler.h @@ -64,8 +64,12 @@ protected: bool StartTest(int test); // Mark the checkpoint for the given test void WriteCheckpoint(int index); - void WriteCostData(int index, float cost); + + void UpdateCostData(); void ReadCostData(); + // Return index of a test based on its name + int SearchByName(std::string name); + void CreateTestCostList(); // Removes the checkpoint file void MarkFinished(); |