Skip to content
#

context-switching

Here are 44 public repositories matching this topic...

Topologic Python Library. A library to simulate DFAs and Probabilistic DFAs using context switching. This library provides a way to build and define the behavior of a graph. The client is able to define the function each vertex and edge of the graph make and how the graph transitions from one (the first valid edge) or to many states, as well as which states the graph starts in.

  • Updated Mar 29, 2021
  • C

Multiprogramming is a process or method of executing multiple processes simultaneously in the memory. Its primary aim is to minimize the average waiting time, average turnaround time and maximize the CPU utilization. There are various CPU scheduling algorithms are used to performed multiprogramming like First Come First Serve (FCFS), Shortest Job First (SJF), Priority Scheduling (PS) and Round Robin (RR). This project deals with the simulation of CPU scheduling algorithms with C. The following algorithms are simulated: • First Come First Serve (FCFS) • Shortest Job First • SRTF Algorithm • Round Robin • Our innovative algorithm The metrics such as waiting time and turnaround time taken for the processes to complete, number of rounds, etc are calculated. The target of this project is to also propose a new CPU scheduling algorithm which will perform superior than current round robin algorithm and in most cases better than other algorithms as well in terms of minimizing average waiting time, average turnaround time and number of context switches.

  • Updated May 14, 2019
  • C

Context Switching involves storing the context or state of a process so that it can be reloaded when required and execution can be resumed from the same point as earlier. Act of switching from one process to another is called a "Context Switch".Typically there are several tasks to perform in a computer system. So if one task requires some I/O operation, you want to initiate the I/O operation and go on to the next task. You will come back to it later. When you return back to a process, you should resume where you left off. For all practical purposes, this process should never know there was a switch, and it should look like this was the only process in the system.

  • Updated Dec 30, 2019
  • C

Improve this page

Add a description, image, and links to the context-switching topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the context-switching topic, visit your repo's landing page and select "manage topics."

Learn more