Processor core with per-thread resource usage accounting logic
Abstract
Processor time accounting is enhanced by per-thread internal resource usage counter circuits that account for usage of processor core resources to the threads that use them. Relative resource use can be determined by detecting events such as instruction dispatches for multiple threads active within the processor, which may include idle threads that are still occupying processor resources. The values of the resource usage counters are used periodically to determine relative usage of the processor core by the multiple threads. If all of the events are for a single thread during a given period, the processor time is allocated to the single thread. If no events occur in the given period, then the processor time can be equally allocated among threads. If multiple threads are generating events, a fractional resource usage can be determined for each thread and the counters may be updated in accordance with their fractional usage.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of accounting for processor time usage in a processor core having a single-threaded mode of operation and a multi-threaded mode of operation, the method comprising: determining whether or not the processor core is in the single-threaded mode; at periodic intervals, determining increments to be applied to resource usage counter circuits within the processor core according to amounts of usage of internal resources of the processor core by a plurality of threads executing within the processor core, each of the threads corresponding to one of the resource usage counter circuits, wherein,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (24)
Non-Patent Literature (2)
- Final Office Action in U.S. Appl. No. 10/422,025, Aug. 3, 2009.
- Jim Maure, "Research on the Solaris Kernel the 30th: utilization ration and microstate accounting", SunWorld, IDG Japan, Inc., Nov. 1, 2000, vol. 10, No. 11, pp. 108-109, Japan.