摘要 |
PROBLEM TO BE SOLVED: To provide a system for calculating more accurate CPU utilization rate. SOLUTION: A CPU 11 has a task-to-be-measured registering function for registering one of the idle tasks created for each application as the task to be measured; an idle task measuring function for measuring the run time of each idle task registered when the CPU 11 is at idle; and a utilization rate calculating function for calculating the rate at which the CPU 11 is utilized by each application corresponding to each idle task, on the basis of the measured run time of each idle task. The task-to-be-measured registering function monitors if the idle task of each application is generated or deleted; when the function detects that the idle task is generated or deleted, among the existing idle tasks, that which is lowest in the order of precedence for processing by the CPU 11 is registered as the task to be measured. COPYRIGHT: (C)2004,JPO&NCIPI
|