lib/mlrisc-lib/MLRISC/scheduling/PalemSimons.sig
raw| 1 | (* |
| 2 | * This algorithm is in Krishna and Barbara Simons' paper from TOPLAS '93. |
| 3 | * Note: the dag is assumed to be in transitively closed form. |
| 4 | * |
| 5 | * -- Allen |
| 6 | *) |
| 7 | signature PALEM_SIMONS = |
| 8 | sig |
| 9 | |
| 10 | val rank : { dag : ('n,'e,'g) Graph.graph, (* dag *) |
| 11 | l : 'e Graph.edge -> int, (* latency *) |
| 12 | d : 'n Graph.node -> int, (* individual deadlines *) |
| 13 | m : int (* number of processors *) |
| 14 | } -> |
| 15 | { d' : int Array.array (* modified deadlines *) |
| 16 | } |
| 17 | end |