C# Class schedule2.Program

Exibir arquivo Open project: lukesandberg/PexFaultLocalization

Public Properties

Property Type Description
prio_queue LinkedList[]

Public Methods

Method Description
block ( ) : int
enqueue ( int prio, Process new_process ) : int
finish ( ) : int
flush ( ) : int
getCurrent ( ) : Process
get_process ( int prio, float ratio, Process &job ) : int
new_job ( int prio ) : int
put_end ( int prio, Process process ) : int
quantum_expire ( ) : int
readFile ( string path ) : ArrayList
reschedule ( int prio ) : int
schedule ( int command, int prio, float ratio ) : int
unblock ( float ratio ) : int
upgrade_prio ( int prio, float ratio ) : int

Private Methods

Method Description
Main ( string args ) : void

Method Details

block() public static method

public static block ( ) : int
return int

enqueue() public static method

public static enqueue ( int prio, Process new_process ) : int
prio int
new_process Process
return int

finish() public static method

public static finish ( ) : int
return int

flush() public static method

public static flush ( ) : int
return int

getCurrent() public static method

public static getCurrent ( ) : Process
return Process

get_process() public static method

public static get_process ( int prio, float ratio, Process &job ) : int
prio int
ratio float
job Process
return int

new_job() public static method

public static new_job ( int prio ) : int
prio int
return int

put_end() public static method

public static put_end ( int prio, Process process ) : int
prio int
process Process
return int

quantum_expire() public static method

public static quantum_expire ( ) : int
return int

readFile() public static method

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

reschedule() public static method

public static reschedule ( int prio ) : int
prio int
return int

schedule() public static method

public static schedule ( int command, int prio, float ratio ) : int
command int
prio int
ratio float
return int

unblock() public static method

public static unblock ( float ratio ) : int
ratio float
return int

upgrade_prio() public static method

public static upgrade_prio ( int prio, float ratio ) : int
prio int
ratio float
return int

Property Details

prio_queue public_oe static_oe property

public static LinkedList[] prio_queue
return LinkedList[]