2 ms·
But if the time multiplier used is high enough the time spend choosing a thread at each period is small. So while that overhead could increase processing time,
by dspillett 12y ago
But if the time multiplier used is high enough the time spend choosing a thread at each period is small.
So while that overhead could increase processing time, wall-clock time need to be affected.
Again this is why I think it makes a good example for illustrating critical thinking in the area of algorithm design and analysis. It is an obviously silly example which could actually work, within certain practical boundaries, and the many obvious problems with it are hidden in more complex processes/structures.