For completeness, re-implement meta.schedulingPriority

This commit is contained in:
Eelco Dolstra
2015-08-12 12:05:43 +02:00
parent b7965df928
commit 576dc0c120
3 changed files with 32 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ struct Build
std::string projectName, jobsetName, jobName;
time_t timestamp;
unsigned int maxSilentTime, buildTimeout;
int globalPriority;
int localPriority, globalPriority;
std::shared_ptr<Step> toplevel;
@@ -164,6 +164,10 @@ struct Step
step. */
double lowestShareUsed;
/* The highest local priority of any build depending on this
step. */
int highestLocalPriority{0};
/* The lowest ID of any build depending on this step. */
BuildID lowestBuildID{std::numeric_limits<BuildID>::max()};
};