Git Product home page Git Product logo

fsosched's Introduction

FSOSched

This module is a simple visualizer for process queues. It stems from the core concept of a CPU and IO queue. These queues can be nested practically indefinitely to support superqueues.

Available priority systems are "FIFO", "FILO", "SJF", "SRTF", "Priority", and "RR q" (where q is a number representing the quantum).

Any system can be marked as pre-emptive or non-pre-emptive; though using this in non-intuitive ways might cause the system to behave oddly.

All processes support customization options; you must set at least "bursts" and "queues" (which must be of the same length); "color" is the only way to differentiate processes; so it's recommended you set it as well. "bursts" refers to the length of each burst. "queues" refers to the insertion queue for the process in each burst; you should alternate between "IO" (or subqueues) and "CPU" (or subqueues), but this isn't enforced. Setting the insertion queue of a process to a superqueue will have it randomly inserted into one of the queues subqueues.

Once rendered, pressing "Down" (down arrow) or "Up" (up arrow) will move the resulting rendered graphic.

Requirements and Dependencies

  • Python 3.10+
  • graphics.py v5.0+ (included in repository)
  • tkinter library

fsosched's People

Contributors

enderdoom77 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.