Discussion:
set-sched-policy
(too old to reply)
c***@CSIC.UMD.EDU
2005-03-07 15:09:40 UTC
Permalink
how do we know if
our
Sys_SetSchedulingPolicy()
works?
the powerpoint
presentation says to
make sure it works
before stuff gets
too complicated, but
after we program it,
how exactly are we
supposed to know if
it works? is there a
user program that
can tell us if
MLF->RR or RR->MLF
is working?

i'm wondering as i
think i have this
part and the
background process
stuff working, but
am unsure whether or
not i did what we
are supposed to do.
Iulian Neamtiu
2005-03-07 21:20:00 UTC
Permalink
Well in Sys_SetSchedulingPolicy() you could print out the scheduling
policy (before and after), that's one possibility. But if you have the
MLF implemented, check the 'Additional Requirement' section in the
project description or item 5 in grading criteria. Execution traces for
those programs (i.e. the order of output characters) should differ,
depending on the scheduler and the quantum.

Iulian
Post by c***@CSIC.UMD.EDU
how do we know if
our
Sys_SetSchedulingPolicy()
works?
the powerpoint
presentation says to
make sure it works
before stuff gets
too complicated, but
after we program it,
how exactly are we
supposed to know if
it works? is there a
user program that
can tell us if
MLF->RR or RR->MLF
is working?
i'm wondering as i
think i have this
part and the
background process
stuff working, but
am unsure whether or
not i did what we
are supposed to do.
Continue reading on narkive:
Loading...