use of es.bsc.compss.types.fake.FakeActionOrchestrator in project compss by bsc-wdc.
the class AllocatableActionTest method setUpClass.
@BeforeClass
public static void setUpClass() {
ResourceManager.clear(rus);
// Method resource description and its slots
int maxSlots = 3;
Processor p = new Processor();
p.setComputingUnits(maxSlots);
description = new MethodResourceDescription();
description.addProcessor(p);
// Task Scheduler
ts = new TaskScheduler();
// Task Dispatcher
fao = new FakeActionOrchestrator(ts);
ts.setOrchestrator(fao);
// Resource Scheduler
rs = new FakeResourceScheduler(new FakeWorker(description, maxSlots), null, null);
}
Aggregations