Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help me with these implementations in C++ with a screen shot of the outpu

ID: 670689 • Letter: P

Question

Please help me with these implementations in C++ with a screen shot of the output.

process.cpp extends the constructor so that a process is now represented as a series of CPU bursts separated by disk activity. When the run function completes, it now has another possible response, indicating that a current CPU burst is complete, and that the process wishes to access the disk.

scheduler.cpp has a function to respond to that request. If the runScheduler function sees the 'D' returned from Process::run it can use the diskRequestfunction to resolve that request. This function has been encapsulated so that later assignments can do a similar thing for other peripheral devices.

Representing the disk behavior will be vary simple -- with just one integer value representing the time index for when it will next be available for use. It will handle all requests in the order they arrive, but will not need any queue data structure to do so.

The Process Header:

The Proclist header:

The Scheduler Header:

The histo header:

The completed histo.cpp code(nothing needs to be done here):

The Driver:

**The process.cpp code that needs to be modified:

**The scheduler.cpp code that needs to be modified:

Thank You... kindly put your changes/new codes in bold so i can work thourgh.

Explanation / Answer

// double CpuBurstTime