aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/blocking
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/blocking')
-rw-r--r--native/src/blocking/clust-omlp.cpp9
-rw-r--r--native/src/blocking/rw-phase-fair.cpp9
2 files changed, 18 insertions, 0 deletions
diff --git a/native/src/blocking/clust-omlp.cpp b/native/src/blocking/clust-omlp.cpp
index 892608f..241f7c9 100644
--- a/native/src/blocking/clust-omlp.cpp
+++ b/native/src/blocking/clust-omlp.cpp
@@ -74,6 +74,15 @@ BlockingBounds* clustered_omlp_bounds(const ResourceSharingInfo& info,
74 return _results; 74 return _results;
75} 75}
76 76
77BlockingBounds* task_fair_mutex_bounds(const ResourceSharingInfo& info,
78 unsigned int procs_per_cluster,
79 int dedicated_irq)
80{
81 // These are structurally equivalent. Therefore, no need to reimplement
82 // everything from scratch.
83 return clustered_omlp_bounds(info, procs_per_cluster, dedicated_irq);
84}
85
77static void add_blocking(LimitedContentionSet &lcs, 86static void add_blocking(LimitedContentionSet &lcs,
78 const ContentionSet& cont, 87 const ContentionSet& cont,
79 unsigned long interval, 88 unsigned long interval,
diff --git a/native/src/blocking/rw-phase-fair.cpp b/native/src/blocking/rw-phase-fair.cpp
index d7705d7..154f862 100644
--- a/native/src/blocking/rw-phase-fair.cpp
+++ b/native/src/blocking/rw-phase-fair.cpp
@@ -222,3 +222,12 @@ BlockingBounds* clustered_rw_omlp_bounds(const ResourceSharingInfo& info,
222 222
223 return _results; 223 return _results;
224} 224}
225
226BlockingBounds* phase_fair_rw_bounds(const ResourceSharingInfo& info,
227 unsigned int procs_per_cluster,
228 int dedicated_irq)
229{
230 // These are structurally equivalent. Therefore, no need to reimplement
231 // everything from scratch.
232 return clustered_rw_omlp_bounds(info, procs_per_cluster, dedicated_irq);
233}