Recording CPU time for sample of computing thread based on CPU use state of activity associated with the sample

US9632902B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9632902-B2
Application numberUS-201514660591-A
CountryUS
Kind codeB2
Filing dateMar 17, 2015
Priority dateDec 12, 2014
Publication dateApr 25, 2017
Grant dateApr 25, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Computing threads can be sampled such that the samples hit each activity with a probability proportional to a time period of that activity. Therefore, the sampling can advantageously account for all activities, including activities that are smaller than the applicable sampling interval.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: receiving, by at least one processor, a computing thread characterizing a portion of a plurality of activities of a computer program, the plurality of activities associated with the computing thread, the computing thread being associated with a plurality of samples so that a probability of at least one sample of the plurality of samples being taken within each activity of the plurality of activities is proportional to a time period of the activity; determining, by the at least one processor, that a sample of the plurality of samples indicates a particular activity of the plurality of activities that is not serviced by a central processing unit (CPU) operatively coupled to the at least one processor, the particular activity not being serviced by the CPU for a particular time period; recording, by the at least one data processor, the particular time period in a first stack frame specific to a prior sample of the plurality of samples that indicates a prior activity of the plurality of activities that was serviced by the CPU; and providing, by the at least one processor, data stored in the first stack frame, the providing comprising: generating a summary report comprising: the particular time period, identification of the prior activity, and a total number of samples for which time periods associated with the CPU are recorded in stack frames of prior samples; and displaying the summary report on a graphical user interface operatively coupled to the at least one processor. 2. The method of claim 1 , further comprising: determining, by the at least one processor, that another sample indicates another activity that is serviced by the CPU; recording, by the at least one data processor, a specific time period for the other sample indicating the other activity in a second stack frame specific to the other sample, the first stack frame and the second stack frame being a part of a call stack for the computing thread; and providing, by the at least one processor, data stored in the second stack frame. 3. The method of claim 1 , wherein the computer program executes an enterprise resource planning application. 4. The method of claim 1 , wherein each activity of the computer program is a subroutine of the computer program. 5. A method comprising: receiving, by at least one processor, a computing thread characterizing a portion of a plurality of activities of a computer program, the plurality of activities associated with the computing thread, the computing thread being associated with a plurality of samples so that a probability of at least one sample of the plurality of samples being taken within each activity of the plurality of activities is proportional to a time period of the activity; determining, by the at least one processor, that a sample of the plurality of samples indicates a particular activity of the plurality of activities that is not serviced by a central processing unit (CPU) operatively coupled to the at least one processor, the particular activity not being serviced by the CPU for a particular time period; recording, by the at least one data processor, the particular time period in a first stack frame specific to a prior sample of the plurality of samples that indicates a prior activity of the plurality of activities that was serviced by the CPU; and providing, by the at least one processor, data stored in the first stack frame, determining, by the at least one processor, that another sample indicates another activity that is serviced by the CPU; recording, by the at least one data processor, a specific time period for the other sample indicating the other activity in a second stack frame specific to the other sample, the first stack frame and the second stack frame being a part of a call stack for the computing thread; and providing, by the at least one processor, data stored in the second stack frame, the providing of the data stored in the second stack frame comprising: generating a summary report comprising: the specific time period, identification of the other activity, and a total number of samples for which time periods associated with the CPU are recorded in stack frames of prior samples; and displaying the summary report on a graphical user interface operatively coupled to the at least one processor. 6. The method of claim 5 , wherein the computer program executes an enterprise resource planning application. 7. The method of claim 5 , wherein each activity of the computer program is a subroutine of the computer program. 8. A system comprising: at least one processor to: receive a computing thread characterizing a portion of a plurality of activities of a computer program, the plurality of activities associated with the computing thread, the computing thread being associated with a plurality of samples so that a probability of at least one sample of the plurality of samples being taken within each activity of the plurality of activities is proportional to a time period of the activity; determine that a sample of the plurality of samples indicates a particular activity of the plurality of activities that is not serviced by a central processing unit (CPU) operatively coupled to the at least one processor, the particular activity not being serviced by the CPU for a particular time period; and record the particular time period; and a call stack including a plurality of stack frames associated with the plurality of samples, the plurality of stack frames including a stack frame in which the at least one processor records the particular time period, the at least one processor configured to provide data stored in the stack frame, the providing comprising: generating a summary report comprising: the particular time period, identification of the prior activity, and a total number of samples for which time periods associated with the CPU are recorded in stack frames of prior samples; and displaying the summary report on a graphical user interface operatively coupled to the at least one processor. 9. The system of claim 8 , wherein the at least one processor is configured to: determine that another sample indicates another activity that is serviced by the CPU; and record a specific time period for the other sample indicating the other activity in a second stack frame specific to the other sample, the first stack frame and the second stack frame being a part of the call stack. 10. The system of claim 9 , wherein the at least one processor is further configured to: provide data stored in the second stack frame. 11. The system of claim 8 , wherein the computer program executes an enterprise resource planning application. 12. The system of claim 8 , wherein each activity of the computer program is a function call within the computer program. 13. A system comprising: at least one processor to: receive a computing thread characterizing a portion of a plurality of activities of a computer program, the plurality of activities associated with the computing thread, the computing thread being associated with a plurality of samples so that a probability of at least one sample of the plurality of samples being taken within each activity of the plurality of activities is proportional to a time period of the activity; determine that a sample of the plurality of samples indicates a particular activity of the plurality of activities that is not serviced by a central processing unit (CPU) operatively coupled to the at least one processor, the particular activity not being serviced by the CPU for a particular time period; and record the particular time period; and a call stack including a

Assignees

Inventors

Classifications

  • Monitoring involving counting · CPC title

  • Event-based monitoring · CPC title

  • Data logging (G06F11/14, G06F11/2205 take precedence) · CPC title

  • where the assessed time is active or idle time · CPC title

  • for performance assessment · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9632902B2 cover?
Computing threads can be sampled such that the samples hit each activity with a probability proportional to a time period of that activity. Therefore, the sampling can advantageously account for all activities, including activities that are smaller than the applicable sampling interval.
Who is the assignee on this patent?
Scheuer Tobias, Booss Daniel, Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F11/3423. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 25 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).