cpu scheduler runs every pulse, but need to handle context switch still