Hi
I need to finish this hw due 17 nov 2005. Will accept bid in 24 hours. No 24 houirs cancelation.
a) The submission includes source code, documentation, and the input/output of your program
do a small simulation to compare two scheduling algorithms. The two algorithms will be
1. Simple round robin with a given slice time as ticks
2. Priority-based round robin scheduling
Simulate the algorithms against the same workloads, and compare average response times and cpu usage.
For this simulation, we’ll assume that events happen only at ‘ticks;’ you don’t need to simulate anything that happens between ticks, but at each tick,
· The currently executing job, if any, completes another tick of work,
· The currently executing job may finish, in which case we should update response time statistics.
· A new job may arrive. Every arriving job has an expected duration and a priority, which will need to be stored until it finishes.
· Depending on the scheduling algorithm, which job is the currently executing job may change.
In the ideal project the distribution of arrival rates, job durations, and priorities would be based on a measurement of a realistic workload, but it is assumed that (average number of arriving jobs each tick) x (average length of a job in ticks) < 1 Otherwise, there’d be too much work to ever finish, and the response time would grow steadily as the system ran.
On the other hand, unless the system is at least a little loaded, there’s lots of free time, jobs never interfere with each other, and all scheduling algorithms are equivalent.
Write a program in C++/C to simulate the scheduling based on the above mentioned two algorithms.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
c++