Monitoring processor execution cycles to prevent task overrun in multi-task, hard, real-time system
Abstract
Hard, real-time, multi-tasking system is monitored by combined hardware and software and logic to detect overrun of any task beyond a declared maximum processor cycle limit for the task. Processor execution cycles utilized by DMA or interrupt processing and not related to the task being executed are not counted. Counter hardware and control logic reduces software overhead for monitoring execution cycle utilization by a task and provides capability not only of overrun detection, but programmed cycle usage alarm, consumed cycle count and overall processor loading or utilization measurements to be made.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 81.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
In a multi-tasking program execution system, a method of monitoring task overrun conditions, the method comprising the steps of: counting only processor execution cycles associated with a specific task occurring while said specific task is executed, said specific task being executed together with one or more other tasks by a single processor; and generating a cycle counter interrupt which is one type of processor execution interrupt whenever said counting reaches a predetermined value; and stopping said counting whenever any processor execution interrupt occurs.
- Claim 2Depends on #1
A method as described in claim 1, further comprising: resuming said counting whenever a processor resumption of execution of said specific task occurs because said counting was stopped for a processor execution interrupt other than a cycle counter interrupt which i
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗