/round-robin

Algoritmo de planificación por turnos (Round Robin)

Primary LanguageJavaMIT LicenseMIT

Algoritmo de planificación por turnos (Round Robin)

En este proyecto se implementa el algoritmo de planificación de procesos en los siguientes lenguajes:

  • Ruby
  • Python
  • Java
  • Crystal

Salida

Algoritmo de planificación Round Robin
N(Nuevo) L(Listo) E(Ejecución) T(Terminado)
Cantidad de procesos: 1000
Quantum: 30

Proceso P1      P2      P3      P4      P5      P6      P7      ...
ID      01      02      03      04      05      06      07      ...
Instruc 100     100     100     100     100     100     100     ...
Estado  N       N       N       N       N       N       N       ...
Posic   1       2       3       4       5       6       7       ...

Proceso P1      P2      P3      P4      P5      P6      P7      ...
ID      01      02      03      04      05      06      07      ...
Instruc 100     100     100     100     100     100     100     ...
Estado  L       L       L       L       L       L       L       ...
Posic   1       2       3       4       5       6       7       ...

Proceso P1      P2      P3      P4      P5      P6      P7      ...
ID      01      02      03      04      05      06      07      ...
Instruc 70      100     100     100     100     100     100     ...
Estado  E       L       L       L       L       L       L       ...
Posic   1       2       3       4       5       6       7       ...
...
Proceso P1      P2      P3      P4      P5      P6      P7      ...
ID      01      02      03      04      05      06      07      ...
Instruc 0       0       0       0       0       0       0       ...
Estado  T       T       T       T       T       T       T       ...
Posic   0       0       0       0       0       0       0       ...

Ejemplo

  • Cantidad de Procesos: 1000
  • Instrucciones: 100
  • Quantum: 30

time memory cpu memory_time

Autor

@faustinoaq Sept, 2016