A CPU scheduler simulator