摘要 |
PROBLEM TO BE SOLVED: To provide a timer controlling method capable of running the timer processing function of an operating system by frequency specified by an external variable 'timer run frequency' and collecting all trace data including the execution of timer interruption processing at the frequency at the time of tracing all instructions. SOLUTION: When the processing of the operating system for a timer 3 is also included in the tracing of all instructions, timer interruption processing adds '1' to a timer counter at the time of periodical interruption of the timer 3, the timer 3 is informed of the completion of the interruption processing, the call of a timer processing routine, the exection of all-instruction tracing for the timer interruption and '0' clear of the counter are executed only when the counter value reaches a timer run frequency value, and when the interruption of the timer 3 is in an interruption holding state, all-instruction tracing data are stored only in a buffer and the output of the data to a secondary storage device 14 for all-instruction tracing is suppressed.
|