A computer system has at least one processor and at least one queue for
storing instructions for execution by the processor. The processor is
capable of being clocked at a plurality of rates. A number of
instructions in the queue is measured. The optimum clock rate is selected
based on in part the determined number of queued instructions.