public abstract class PeriodicTask extends AbstractTask
consumptionProfile
Constructor and Description |
---|
PeriodicTask(long firstRelease,
long wcet,
long wcee,
long period,
long deadline,
int priority,
IEnergyConsumptionProfile p) |
Modifier and Type | Method and Description |
---|---|
double |
getDensity()
Calculates the density of the task, where density = WCET/(min(P,d))
|
double |
getUtilization()
Calculates the utilization of the task, where U = WCET/T
|
boolean |
isArbitraryDeadline()
Checks if the task is an arbitrary-deadline task
|
boolean |
isConstrainedDeadline()
Checks if the task is a constrained-deadline task, in which the deadline
less or equals to its period
|
boolean |
isImplicitDeadline()
Checks if the task is an implicit-deadline task, in which the deadline
equals to its period
|
activate, checkDeadlineMissed, getActiveJobs, getCurrentJob, getDeadline, getEnergyConsumption, getEnergyConsumptionProfile, getEnergyConsumptionRate, getFirstRelease, getId, getLastExecutedJob, getNextAbsoluteDeadline, getNextActivation, getNextDeadline, getPeriod, getPreviousAbsoluteDeadline, getPriority, getRemainingCost, getType, getWcee, getWcet, isActivationTime, isActive, lastExecutedJobHasCompleted, setEnergyConsumptionProfile, setFirstRelease, setId, setLastExecutedJob, setPriority
public PeriodicTask(long firstRelease, long wcet, long wcee, long period, long deadline, int priority, IEnergyConsumptionProfile p)
public double getUtilization()
public double getDensity()
public boolean isImplicitDeadline()
public boolean isConstrainedDeadline()
public boolean isArbitraryDeadline()
Copyright © 2012. All Rights Reserved.