Method | Description | |
---|---|---|
Delay ( |
The Delay operation drops the last scheduled process such that it is never scheduled again for that state.
|
|
Finish ( |
This function is called by Zinger whenever a process has finished execution (terminated).
|
|
MaxDelayReached ( |
||
Next ( |
Randomly return a process from the set of processes SetOfProcesses not yet delayed.
|
|
OnBlocked ( |
This function is called when a process is blocked on dequeue. There are no more events to be serviced and the queue is empty.
|
|
OnEnabled ( |
This function is called on a enqueue operation. A process is enabled if it has messages in its queue to be serviced
|
|
Start ( |
This function is called by Zinger whenever a new process is created.
|
|
ZingerOperation ( |
public Delay ( |
||
zSchedState | ||
return | void |
public Finish ( |
||
ZSchedulerState | ||
processId | int | process Id of the completed process |
return | void |
public MaxDelayReached ( |
||
zSchedState | ||
return | bool |
public Next ( |
||
zSchedState | ||
return | int |
public OnBlocked ( |
||
ZSchedulerState | ||
sourceSM | int | Process that is blocked |
return | void |
public OnEnabled ( |
||
ZSchedulerState | ||
targetSM | int | process is added to the set of enabled processes |
sourceSM | int | |
return | void |
public Start ( |
||
ZSchedulerState | ||
processId | int | process Id of the newly created process |
return | void |
public ZingerOperation ( |
||
ZSchedulerState | ||
return | void |