摘要 |
PROBLEM TO BE SOLVED: To obtain a processing apparatus reducing the memory capacity to be used in performance monitor information acquisition processing for each task from a performance monitor counter of a microprocessor.SOLUTION: A processing apparatus comprises: a measurement acquisition section 12 for acquiring a measurement of a performance monitor counter 2a; an update section 13 for securing a region for a task in a measurement information table 31 for holding the acquired measurement when starting the task, and releasing the region for the task when the task is finished; an information hold section 14 for holding a start time measurement which is acquired when starting the task, and the number of interruption events during interruption of the task, in the secured memory region; a calculation section 15 which subtracts the start time measurement from an end time measurement which is acquired when the task is ended, further subtracts the number of interruption events and calculates a result as an execution time measurement increment component of the ended task; and a log output section 16 for outputting the execution time measurement increment component calculated by the calculation section 15 to a log file. |