Presentation is loading. Please wait.

Presentation is loading. Please wait.

Markus Van Tol and Gaurav Sharda Professor Anton Kruger

Similar presentations


Presentation on theme: "Markus Van Tol and Gaurav Sharda Professor Anton Kruger"— Presentation transcript:

1 Markus Van Tol and Gaurav Sharda Professor Anton Kruger
TASK SWITCHER Markus Van Tol and Gaurav Sharda Professor Anton Kruger

2 INTRODUCTION Multi tasking : A method where multiple tasks i.e., processes share a common resource – CPU, microcontroller. Context switch : Process of storing and restoring state (context) of a CPU so that execution can be resumed from the same point at a later time.

3 COMPONENTS USED

4 CIRCUIT DIAGRAM

5 FLOW DIAGRAM

6 Performance Comparison
Ideally Practically

7 INTERRUPTS vs. CONTEXT SWITCH
Place return point on stack Run interrupt routine Take return point back from stack Faster Requires special work to preserve values Place return point on stack Place registers and context-local values on stack Change to another stack Change back to first stack and take all values back Slower All values are context specific


Download ppt "Markus Van Tol and Gaurav Sharda Professor Anton Kruger"

Similar presentations


Ads by Google