首页>
外国专利>
CYCLE VALUE MEASURING PROGRAM IN MULTICORE PROCESSOR, CYCLE VALUE MEASUREMENT METHOD, INFORMATION PROCESSING DEVICE HAVING MULTICORE PROCESSOR, AND INFORMATION PROCESSING SYSTEM HAVING MULTICORE PROCESSOR
CYCLE VALUE MEASURING PROGRAM IN MULTICORE PROCESSOR, CYCLE VALUE MEASUREMENT METHOD, INFORMATION PROCESSING DEVICE HAVING MULTICORE PROCESSOR, AND INFORMATION PROCESSING SYSTEM HAVING MULTICORE PROCESSOR
To provide a program for measuring a difference in clock cycle value between the cores of a multicore processor.SOLUTION: CPU chips CPU#0, CPU#1 include a plurality of cores CORE#0, #1, CORE#2, #3 and a clock generator. Each core includes a clock counter for counting clocks and cycle value registers CYC_REG0-3 in which count values are stored. With times between the acquisitions of successive cycle values by the plurality of cores as first and second correction values CRR1, CRR2, the time needed for each core to acquire a cycle value is measured as a third correction value CRR3. The plurality of cores successively execute the process of acquiring a lock and storing the cycle value of the core's own in an internal register and thereafter unlocking. A difference between the collected cycle values of all cores and the cycle value of a reference core is corrected on the basis of the correction values CRR1, CRR2, CRR3, and a difference of cycle value between the reference core and the other is calculated.SELECTED DRAWING: Figure 1
展开▼