aboutsummaryrefslogtreecommitdiffstats
path: root/native/include
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-02-12 05:07:23 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-02-12 06:49:39 -0500
commit4b07d5bcd33e4b0433d4b91f9268a54399df676b (patch)
treefc0cbf11ec0dabad4d53917387a1d649ef026b02 /native/include
parent9674c4edf23e3f43f7c07ba219f2c8540f1813d7 (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.h7
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;
5typedef std::vector<ResponseTimes> TaskResponseTimes; 5typedef std::vector<ResponseTimes> TaskResponseTimes;
6typedef std::vector<TaskResponseTimes> ClusterResponseTimes; 6typedef std::vector<TaskResponseTimes> ClusterResponseTimes;
7 7
8typedef std::vector<PriorityCeilings> MPCPCeilings;
9
8void determine_gcs_response_times(const Clusters& clusters, 10void determine_gcs_response_times(const Clusters& clusters,
9 const PriorityCeilings& ceilings, 11 const MPCPCeilings& ceilings,
10 ClusterResponseTimes& times); 12 ClusterResponseTimes& times);
13
14MPCPCeilings get_mpcp_ceilings(const ResourceSharingInfo& info);
15
11#endif 16#endif