public class NewPercCPUPolicy extends Object implements NewSchedulerPolicyInterface
| Constructor and Description |
|---|
NewPercCPUPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRestriction(SchedulerPolicyRestriction restriction) |
Map.Entry<csbase.logic.CommandInfo,List<csbase.logic.SGASet>> |
getAllocation() |
void |
init(List<csbase.logic.CommandInfo> cmds,
List<csbase.logic.SGASet> sgas) |
void |
notifySucessfulAllocation(csbase.logic.CommandInfo cmd,
csbase.logic.SGASet server) |
void |
removeCommand(csbase.logic.CommandInfo cmd) |
public void init(List<csbase.logic.CommandInfo> cmds, List<csbase.logic.SGASet> sgas)
init in interface NewSchedulerPolicyInterfacepublic Map.Entry<csbase.logic.CommandInfo,List<csbase.logic.SGASet>> getAllocation()
getAllocation in interface NewSchedulerPolicyInterfacepublic void addRestriction(SchedulerPolicyRestriction restriction)
addRestriction in interface NewSchedulerPolicyInterfacepublic void removeCommand(csbase.logic.CommandInfo cmd)
removeCommand in interface NewSchedulerPolicyInterfacepublic void notifySucessfulAllocation(csbase.logic.CommandInfo cmd,
csbase.logic.SGASet server)
notifySucessfulAllocation in interface NewSchedulerPolicyInterfaceCopyright © 2018. All rights reserved.