Commit 2ee636ec by fshahinfar1

add doc

parent ac6a96ae
...@@ -10,6 +10,11 @@ class LSTR(Scheduler): ...@@ -10,6 +10,11 @@ class LSTR(Scheduler):
def init(self): def init(self):
self.ready_list = [] self.ready_list = []
"""
However, LSTR
scheduling algorithm operates on every basic time unit. Here, we consider the basic
time unit of 1 (ms).
"""
self.timer = Timer(self.sim, LSTR.virtual_event, self.timer = Timer(self.sim, LSTR.virtual_event,
(self, self.processors[0]), 1, one_shot=False) (self, self.processors[0]), 1, one_shot=False)
self.timer.start() self.timer.start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment