US2015277994A1PendingUtilityA1
Excluding counts on software threads in a state
Est. expiryMay 19, 2033(~6.8 yrs left)· nominal 20-yr term from priority
Inventors:Frank Eliot Levine
G06F 11/3404G06F 9/526G06F 11/3644G06F 11/3466G06F 2201/865G06F 2201/88G06F 2201/86G06F 9/52G06F 11/348G06F 11/3055
48
PatentIndex Score
0
Cited by
0
References
0
Claims
Abstract
The present disclosure provides a method, computer program product, and system for compensating for event counts for a thread occurring during targeted states on the thread. In example embodiments, the state is a spin loop state and instructions completed during the spin loop are eliminated from a performance report and are presented in the absence of the spin loop. In another embodiment, the event counts are interrupt counts eliminated during the spin loop.
Claims
exact text as granted — not AI-modifiedWwhat is claimed is:
1 . A method for factoring out event counts for a routine in a thread state targeted for elimination of event counts comprising:
accumulating events counts as a per thread base time; and attributing the per thread base time to a routine executing instructions on a thread to form an accumulated per thread base time for the routine wherein the accumulated per thread base time is only for executing instructions by the routine outside of a thread state targeted for elimination of event counts.
2 . The method of claim 1 , wherein the thread state is a software spin loop.
3 . The method of claim 1 , wherein the routine is selected from a group consisting of a method, a subroutine, a procedure, a function, and an instrumented segment.
4 . The method of claim 1 , wherein the thread state is a failure to acquire a resource state for the thread and the event counts are instructions completed.
5 . The method of claim 1 , wherein the event counts are counted by a performance monitoring unit on a processor executing instructions on the thread.
6 . The method of claim 1 , wherein the thread state is spinning and the event counts are interrupt counts for the thread.
7 . The method of claim 1 , further comprising:
responsive to detecting an entering of the thread state, preventing accumulation of the event counts on the thread; and responsive to detecting an exit from the thread state, permitting accumulation of the event counts on the thread.
8 . The method of claim 1 , further comprising:
producing a report excluding the event counts during the state on the thread and including the event counts in the report for a different thread.
9 . A computer program product stored in a non-transitory computer readable medium, comprising computer instructions that when executed by an information handling system, causes the information handling system to factoring out event counts for a routine in a thread state targeted for elimination of event counts to perform actions comprising:
accumulating events counts as a per thread base time; and attributing the per thread base time to a routine executing instructions on a thread to form an accumulated per thread base time for the routine wherein the accumulated per thread base time is only for executing instructions by the routine outside of a thread state targeted for elimination of event counts.
10 . The computer program product of claim 9 , wherein the thread state is a software spin loop.
11 . The computer program product of claim 9 , wherein the routine is selected from a group consisting of a method, a subroutine, a procedure, a function, and an instrumented segment.
12 . The computer program product of claim 9 , wherein the thread state is a failure to acquire a resource state for the thread and the event counts are instructions completed.
13 . The computer program product of claim 9 , wherein the event counts are counted by a performance monitoring unit on a processor executing instructions on the thread.
14 . A system for factoring out event counts occurring on a thread during a state targeted for compensation comprising:
a processor; a memory connected to the processor; an application executing on the processor; and wherein the system: accumulates event counts a per thread base time; and attributes the per thread base time to a routine executing instructions on a thread to form an accumulated per thread base time for the routine wherein the accumulated per thread base time is only for executing instructions by the routine outside of a thread state targeted for elimination of event counts.
15 . The system according to claim 14 , wherein the thread state is a software spin loop.
16 . The system according to claim 14 , wherein the routine is selected from a group consisting of a method, a subroutine, a procedure, a function, and an instrumented segment.
17 . The system according to claim 14 , wherein the thread state is a failure to acquire a resource state for the thread and the event counts are instructions completed.
18 . The system according to claim 14 , wherein the event counts are counted by a performance monitoring unit on a processor executing instructions on the thread.
19 . The system according to claims 14 , wherein the thread state is spinning and the event counts are interrupt counts for the thread.
20 . The system according to claims 14 ,
responsive to detecting an entering of the thread state, preventing accumulation of the event counts on the thread; and responsive to detecting an exit from the thread state, permitting accumulation of the event counts on the thread.Join the waitlist — get patent alerts
Track US2015277994A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.