摘要 |
<p>The prediction accuracy of the thread execution time by a CPU capable of carrying out simultaneous multithreading is improved. The priority of each thread is set in the CPU, and the processing order/frequency of the instructions of threads is controlled so that a thread of high priority is preferentially processed before a thread of low priority in principle. Thus, competition for resources between the threads simultaneously processed is arbitrated. Further, the target value of the number of execution instructions of each thread is set in the CPU, the execution instructions per cycle of each thread are counted cyclically. The instruction processing order/frequency using priority is corrected by feedback control on the basis of comparison of the number of execution instructions and the target value. In such a way, even if any combination of threads are simultaneously processed, the execution time (or IPC) of each thread is stably kept near a desired value.</p> |