C# Class schedule.Program

Exibir arquivo Open project: lukesandberg/PexFaultLocalization

Public Properties

Property Type Description
prio_queue LinkedList[]

Public Methods

Method Description
addProcess ( int prio ) : void
append_ele ( LinkedList a_list, Ele a_ele ) : LinkedList
block_process ( ) : void
del_ele ( LinkedList d_list, LinkedListNode d_ele ) : LinkedList
find_nth ( LinkedList f_list, int n ) : LinkedListNode
finish_all_processes ( ) : void
finish_process ( ) : void
init_prio_queue ( int prio, int num_proc ) : void
initialize ( ) : void
new_list ( ) : LinkedList
new_process ( int prio ) : Ele
quantum_expire ( ) : void
readFile ( string path ) : ArrayList
schedule ( ) : void
unblock_process ( float ratio ) : void
upgrade_process_prio ( int prio, float ratio ) : void

Private Methods

Method Description
Main ( string args ) : void

Method Details

addProcess() public static method

public static addProcess ( int prio ) : void
prio int
return void

append_ele() public static method

public static append_ele ( LinkedList a_list, Ele a_ele ) : LinkedList
a_list LinkedList
a_ele Ele
return LinkedList

block_process() public static method

public static block_process ( ) : void
return void

del_ele() public static method

public static del_ele ( LinkedList d_list, LinkedListNode d_ele ) : LinkedList
d_list LinkedList
d_ele LinkedListNode
return LinkedList

find_nth() public static method

public static find_nth ( LinkedList f_list, int n ) : LinkedListNode
f_list LinkedList
n int
return LinkedListNode

finish_all_processes() public static method

public static finish_all_processes ( ) : void
return void

finish_process() public static method

public static finish_process ( ) : void
return void

init_prio_queue() public static method

public static init_prio_queue ( int prio, int num_proc ) : void
prio int
num_proc int
return void

initialize() public static method

public static initialize ( ) : void
return void

new_list() public static method

public static new_list ( ) : LinkedList
return LinkedList

new_process() public static method

public static new_process ( int prio ) : Ele
prio int
return Ele

quantum_expire() public static method

public static quantum_expire ( ) : void
return void

readFile() public static method

public static readFile ( string path ) : ArrayList
path string
return System.Collections.ArrayList

schedule() public static method

public static schedule ( ) : void
return void

unblock_process() public static method

public static unblock_process ( float ratio ) : void
ratio float
return void

upgrade_process_prio() public static method

public static upgrade_process_prio ( int prio, float ratio ) : void
prio int
ratio float
return void

Property Details

prio_queue public_oe static_oe property

public static LinkedList[] prio_queue
return LinkedList[]