Category : operating-system

I am working on a simulation program of Feedback Scheduling in operating systems. I have a struct process_t like this. struct process_t { int process_id; int my_queue; int arrival_time; vector<service_t> service_seq; service_t cur_service; string next_service_type; int cur_service_idx; int cur_service_tick; // for counting time spent on the service vector<int> working; // for logging the result } ..

Read more