Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SrtfScheduler

Điều phối CPU theo cơ chế SRTF (Shortest Remaining Time First). Tiến trình đang có yêu cầu CPU ít hơn sẽ giành quyền thực thi.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected inputProcess

inputProcess: Array<Process>

Dãy các tiến trình cần điều phối

Protected interruptTime

interruptTime: number = 0

Protected ioMode

ioMode: IOType = IOType.Multi

Kiểu của thiết bị nhập xuất (IO Device)

Protected preempty

preempty: boolean = false

Protected sortable

sortable: boolean = false

Accessors

IOMode

InputProcess

  • get InputProcess(): Array<Process>
  • set InputProcess(inputProcess: Array<Process>): void

Methods

scheduling