Method and apparatus for measuring CPU task occupancy rate in a real-time system
Abstract
An apparatus for measuring a CPU occupancy rate of a task in a real-time system. The apparatus includes a task register unit registering a task to be measured in flag bits, and a task selecting module selecting and outputting a bit address of the task having a high priority of the flag bit among the set flag bits. A count signal generating unit processing the bit address inputted from the task selecting module to generate a count signal, and a count unit counting an execution time of the task in accordance with the count signal are further included. A CPU sets the flag bit when the task is executed and calculates an execution number and the CPU occupancy rate of the task based on a count value of the count unit.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for measuring a CPU occupancy rate in a real-time system, comprising: a task register unit configured for registering tasks to be measured in flag bits; a task selecting module configured for selecting an address of a flag bit having a high priority among the set flag bits; a count signal generating unit configured for processing the bit address inputted by the task selecting module and for generating a count signal; a count unit configured for counting an execution time of the task in accordance with the count signal; and a CPU for setting the flag bit when the task in executed a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗