Download presentation
Presentation is loading. Please wait.
Published byChristian Jerome Smith Modified over 6 years ago
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
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.