Suppose you have three stages for a job:
Creation stage = the job gets created
Executing stage = the job is executed/served
Finishing stage = the job is "marked" as finished.
Now, say the quantum time for a round-robin scheduler is 100ms. From what I understand, the 100ms is spent on the executing stage. Am I right to assume that the creation and finishing stage is OS stuff, and what really the quantum time is used on, is the executing time?
I'm a bit confused because I'm trying to write a model, and for the scheduler I'm trying to figure out whether "job 1 was created" counts as a "turn" or consumption of quantum time for that given job. So, if "job 1 was created" happens, then it switches to "executing job2".
I might be mixing up OS tasks and CPU execution here.