public class UUniFastDiscardTaskSetGen extends Object implements ITaskSetGenerator
Constructor and Description |
---|
UUniFastDiscardTaskSetGen(ITaskGenerator taskGen,
int nbTask,
int nbProc,
double utilization,
double energyUtilization,
long Pr,
long emax,
int deadlineModel,
boolean offset,
boolean allowEnergy)
Creates a new random Taskset generator based on the UUniFast-Discard
algorithm.
|
public UUniFastDiscardTaskSetGen(ITaskGenerator taskGen, int nbTask, int nbProc, double utilization, double energyUtilization, long Pr, long emax, int deadlineModel, boolean offset, boolean allowEnergy)
taskGen
- the corresponding random task generator.nbTask
- the number of tasks to generate.nbProc
- the number of processor on which the task set will be
scheduled.utilization
- the total processor utilization.deadlineModel
- the model for the deadlines (deadlineModel < 0 for constrained
deadlines, deadlineModel == 0 for implicit deadlines and
deadlineModel > 0 for arbitrary deadlines).offset
- true to randomly generate offset (0 <= O_i <= T_i). false
otherwise (O_i = 0).public ITask[] generate()
generate
in interface ITaskSetGenerator
public String getName()
getName
in interface ITaskSetGenerator
public String getDescription()
getDescription
in interface ITaskSetGenerator
Copyright © 2012. All Rights Reserved.