diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-02-12 05:07:23 -0500 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-02-12 06:49:39 -0500 |
| commit | 4b07d5bcd33e4b0433d4b91f9268a54399df676b (patch) | |
| tree | fc0cbf11ec0dabad4d53917387a1d649ef026b02 /native/include | |
| parent | 9674c4edf23e3f43f7c07ba219f2c8540f1813d7 (diff) | |
MPCP: accurately track per-processor priority ceilings
The priority ceilings under the MPCP are defined in a way
such that one processor has a slightly lower ceiling.
This doesn't really affect the outcome much, but this patch
changes the analysis to be exactly as defined for the sake
of accuracy.
Diffstat (limited to 'native/include')
| -rw-r--r-- | native/include/mpcp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/native/include/mpcp.h b/native/include/mpcp.h index 75f77b1..22494d7 100644 --- a/native/include/mpcp.h +++ b/native/include/mpcp.h | |||
| @@ -5,7 +5,12 @@ typedef std::vector<unsigned long> ResponseTimes; | |||
| 5 | typedef std::vector<ResponseTimes> TaskResponseTimes; | 5 | typedef std::vector<ResponseTimes> TaskResponseTimes; |
| 6 | typedef std::vector<TaskResponseTimes> ClusterResponseTimes; | 6 | typedef std::vector<TaskResponseTimes> ClusterResponseTimes; |
| 7 | 7 | ||
| 8 | typedef std::vector<PriorityCeilings> MPCPCeilings; | ||
| 9 | |||
| 8 | void determine_gcs_response_times(const Clusters& clusters, | 10 | void determine_gcs_response_times(const Clusters& clusters, |
| 9 | const PriorityCeilings& ceilings, | 11 | const MPCPCeilings& ceilings, |
| 10 | ClusterResponseTimes& times); | 12 | ClusterResponseTimes& times); |
| 13 | |||
| 14 | MPCPCeilings get_mpcp_ceilings(const ResourceSharingInfo& info); | ||
| 15 | |||
| 11 | #endif | 16 | #endif |
