doneP; modify CPU burst and IO burst; modify index/ofs for randFunction