rsingla92/CPUScheduler — pull request #66 by rsingla92 (2013-03-17 21:01:12+00:00)
Title: Gantt

Added a display.

Given an algorithmData vector, grab the PID. if it's IDLE, add IDLE to the chart string. else add it's PID. included pipes for spacers.

Added metrics.

Kind of butchered the concept of algorithmData. Created a map which maps a PID to waitTime, ioTime, and turnAroundTime. turnAroundTime is the sum of burst+IO+wait.

due to the map, the final values for a PID will be the last ones for the PID in the algorithmData vector.

printed relevant information.

formatting needs work. what metrics am i missing still?