@@ -30,7 +30,7 @@ class instrumentert;
3030\*******************************************************************/
3131
3232/* po^+ /\ U{C_1, ..., C_n} \/ delays */
33- void cycles_visitort::po_edges (std::set<unsigned >& edges)
33+ void cycles_visitort::po_edges (std::set<event_idt >& edges)
3434{
3535 instrumentert& instrumenter=fence_inserter.instrumenter ;
3636
@@ -176,7 +176,7 @@ void cycles_visitort::po_edges(std::set<unsigned>& edges)
176176 /* computes the largest pos+ in C_j */
177177 std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> m_begin;
178178 std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> m_end;
179- std::set<unsigned > m_threads;
179+ std::set<event_idt > m_threads;
180180
181181 unsigned previous_thread=0 ;
182182 for (event_grapht::critical_cyclet::const_iterator C_j_it=C_j->begin ();
@@ -199,7 +199,7 @@ void cycles_visitort::po_edges(std::set<unsigned>& edges)
199199 /* computes the largest pos+ in C_k */
200200 std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> k_begin;
201201 std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> k_end;
202- std::set<unsigned > k_threads;
202+ std::set<event_idt > k_threads;
203203
204204 previous_thread=0 ;
205205 for (event_grapht::critical_cyclet::const_iterator C_k_it=C_k->begin ();
@@ -220,7 +220,7 @@ void cycles_visitort::po_edges(std::set<unsigned>& edges)
220220 }
221221
222222 /* if there are some commun threads, take the intersection if relevant */
223- for (std::set<unsigned >::const_iterator it=m_threads.begin ();
223+ for (std::set<event_idt >::const_iterator it=m_threads.begin ();
224224 it!=m_threads.end (); ++it)
225225 if (k_threads.find (*it)!=k_threads.end ())
226226 {
@@ -264,7 +264,7 @@ void cycles_visitort::po_edges(std::set<unsigned>& edges)
264264/* C_j /\ po^+ /\ poWR */
265265void cycles_visitort::powr_constraint (
266266 const event_grapht::critical_cyclet& C_j,
267- std::set<unsigned >& edges)
267+ std::set<event_idt >& edges)
268268{
269269 event_grapht& graph=fence_inserter.instrumenter .egraph ;
270270
@@ -295,7 +295,7 @@ void cycles_visitort::powr_constraint(
295295/* C_j /\ po^+ /\ poWW */
296296void cycles_visitort::poww_constraint (
297297 const event_grapht::critical_cyclet& C_j,
298- std::set<unsigned >& edges)
298+ std::set<event_idt >& edges)
299299{
300300 event_grapht& graph=fence_inserter.instrumenter .egraph ;
301301
@@ -326,7 +326,7 @@ void cycles_visitort::poww_constraint(
326326/* C_j /\ po^+ /\ poRW */
327327void cycles_visitort::porw_constraint (
328328 const event_grapht::critical_cyclet& C_j,
329- std::set<unsigned >& edges)
329+ std::set<event_idt >& edges)
330330{
331331 event_grapht& graph=fence_inserter.instrumenter .egraph ;
332332
@@ -357,7 +357,7 @@ void cycles_visitort::porw_constraint(
357357/* C_j /\ po^+ /\ poRR */
358358void cycles_visitort::porr_constraint (
359359 const event_grapht::critical_cyclet& C_j,
360- std::set<unsigned >& edges)
360+ std::set<event_idt >& edges)
361361{
362362 event_grapht& graph=fence_inserter.instrumenter .egraph ;
363363
@@ -388,7 +388,7 @@ void cycles_visitort::porr_constraint(
388388/* C_j /\ comWR */
389389void cycles_visitort::com_constraint (
390390 const event_grapht::critical_cyclet& C_j,
391- std::set<unsigned >& edges)
391+ std::set<event_idt >& edges)
392392{
393393 event_grapht& egraph=fence_inserter.instrumenter .egraph ;
394394
0 commit comments