1. A method comprising: determining a first execution time of a first thread of a process previously executed on a first processing unit of a multiprocessor; determining a second execution time of a second thread of the process previously executed on a second processing unit of the multiprocessor; and adjusting a first power to the first processing unit and a second power to the second processing unit according to the first and second execution times of the first and second threads.