@@ -30,7 +30,7 @@ class instrumentert;
30
30
\*******************************************************************/
31
31
32
32
/* 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)
34
34
{
35
35
instrumentert& instrumenter=fence_inserter.instrumenter ;
36
36
@@ -176,7 +176,7 @@ void cycles_visitort::po_edges(std::set<unsigned>& edges)
176
176
/* computes the largest pos+ in C_j */
177
177
std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> m_begin;
178
178
std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> m_end;
179
- std::set<unsigned > m_threads;
179
+ std::set<event_idt > m_threads;
180
180
181
181
unsigned previous_thread=0 ;
182
182
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)
199
199
/* computes the largest pos+ in C_k */
200
200
std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> k_begin;
201
201
std::map<unsigned ,event_grapht::critical_cyclet::const_iterator> k_end;
202
- std::set<unsigned > k_threads;
202
+ std::set<event_idt > k_threads;
203
203
204
204
previous_thread=0 ;
205
205
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)
220
220
}
221
221
222
222
/* 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 ();
224
224
it!=m_threads.end (); ++it)
225
225
if (k_threads.find (*it)!=k_threads.end ())
226
226
{
@@ -264,7 +264,7 @@ void cycles_visitort::po_edges(std::set<unsigned>& edges)
264
264
/* C_j /\ po^+ /\ poWR */
265
265
void cycles_visitort::powr_constraint (
266
266
const event_grapht::critical_cyclet& C_j,
267
- std::set<unsigned >& edges)
267
+ std::set<event_idt >& edges)
268
268
{
269
269
event_grapht& graph=fence_inserter.instrumenter .egraph ;
270
270
@@ -295,7 +295,7 @@ void cycles_visitort::powr_constraint(
295
295
/* C_j /\ po^+ /\ poWW */
296
296
void cycles_visitort::poww_constraint (
297
297
const event_grapht::critical_cyclet& C_j,
298
- std::set<unsigned >& edges)
298
+ std::set<event_idt >& edges)
299
299
{
300
300
event_grapht& graph=fence_inserter.instrumenter .egraph ;
301
301
@@ -326,7 +326,7 @@ void cycles_visitort::poww_constraint(
326
326
/* C_j /\ po^+ /\ poRW */
327
327
void cycles_visitort::porw_constraint (
328
328
const event_grapht::critical_cyclet& C_j,
329
- std::set<unsigned >& edges)
329
+ std::set<event_idt >& edges)
330
330
{
331
331
event_grapht& graph=fence_inserter.instrumenter .egraph ;
332
332
@@ -357,7 +357,7 @@ void cycles_visitort::porw_constraint(
357
357
/* C_j /\ po^+ /\ poRR */
358
358
void cycles_visitort::porr_constraint (
359
359
const event_grapht::critical_cyclet& C_j,
360
- std::set<unsigned >& edges)
360
+ std::set<event_idt >& edges)
361
361
{
362
362
event_grapht& graph=fence_inserter.instrumenter .egraph ;
363
363
@@ -388,7 +388,7 @@ void cycles_visitort::porr_constraint(
388
388
/* C_j /\ comWR */
389
389
void cycles_visitort::com_constraint (
390
390
const event_grapht::critical_cyclet& C_j,
391
- std::set<unsigned >& edges)
391
+ std::set<event_idt >& edges)
392
392
{
393
393
event_grapht& egraph=fence_inserter.instrumenter .egraph ;
394
394
0 commit comments