Skip to content

Simulador de RoundRobin hecho en Java + Swing, utilizando un patrón simple de MVC.

License

Notifications You must be signed in to change notification settings

facundolaffont/round-robin-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

RoundRobin simulator made in Java + Swing, using MVC pattern.

Features

  • Configurable clock: automatic clock with period between 100 ms and 5000 ms, or manual clock with command-triggered cycles.
  • Process creation: they can be added to the list of active processes with their name and execution time in quantum units.
  • Automatic listing of active processes and updating of remaining execution time: every time the clock ticks.
  • Calculation if mean return time and mean waiting time.

Usage

After compiling, execute from console:

java RoundRobin <quantum> [<clock period>]

Where <quantum> must be an integer greater than cero, and <clock period> must be an integer between 100 and 5000.

If <clock period> is omitted, manual clock is used.

App view examples

Initial window using automatic clock:

Initial window using manual clock:

Processes listing and mean times:

Next

  • Add icon.

About

Simulador de RoundRobin hecho en Java + Swing, utilizando un patrón simple de MVC.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages