Filtering based on instruction execution characteristics for assessing program performance

US11042462B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11042462-B2
Application numberUS-201916559999-A
CountryUS
Kind codeB2
Filing dateSep 4, 2019
Priority dateSep 4, 2019
Publication dateJun 22, 2021
Grant dateJun 22, 2021

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.

Identifying computer program execution characteristics for determine relevance of pattern instruction executions to determine characteristics of a computer program. Filters are utilized to determine which subsequent occurrences of execution of at least one computer instruction are relevant to a counter based on execution characteristics of the at least one computer instruction where the counter counts the subsequent occurrences of execution of at least one computer instruction following prior executions of the same at least one computer instruction.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for determining characteristics of a computer program by identifying execution characteristics of computer instructions, comprising: identifying a set of computer instructions; identifying an execution of at least one computer instruction of the set of computer instructions; determining which subsequent occurrences of execution of computer instructions in the set of computer instructions that are relevant to a counter based on execution characteristics of the computer instructions; and counting the subsequent occurrences of execution of each of the computer instructions in the set of computer instruction that were determined to be relevant following the executions of the at least one computer instruction, wherein determining which subsequent occurrences of execution of computer instructions in the set of computer instructions that are relevant to the counter includes filtering the subsequent occurrences of execution of the set of computer instructions based on an execution mode of the computer instructions and on a tag associated with a location in a memory that the computer instructions were fetched from, wherein the tag indicates that the location in the memory is associated with one of an operating system code and a user application code, wherein the execution mode is one of a kernel mode and an user mode. 2. The computer-implemented method of claim 1 wherein a subsequent occurrence of execution of the at least one computer instruction in the set of computer instructions occurs within a threshold relative to a prior execution of the at least one computer instruction. 3. The computer-implemented method of claim 2 wherein the threshold comprises a threshold time period following the prior execution of the at least one computer instruction. 4. The computer-implemented method of claim 1 wherein the execution mode of the at least one computer instruction is architecture specific. 5. The computer-implemented method of claim 1 wherein filtering the subsequent occurrences of execution of the set of computer instructions based on the execution mode of the computer instructions includes removing subsequent occurrences of execution of the set of computer instructions executed in the kernel mode as not being relevant. 6. A computer system for determining characteristics of a computer program by identifying execution characteristics of computer instructions, the computer system comprising a processor configured to: identify a set of computer instructions; identify an execution of at least one computer instruction of the set of computer instructions; determine which subsequent occurrences of execution of computer instructions in the set of computer instructions that are relevant to a counter based on execution characteristics of the computer instructions; and count the subsequent occurrences of execution of each of the computer instructions in the set of computer instruction that were determined to be relevant following the executions of the at least one computer instruction, wherein determining which subsequent occurrences of execution of computer instructions in the set of computer instructions that are relevant to the counter includes filtering the subsequent occurrences of execution of the set of computer instructions based on an execution mode of the computer instructions and on a tag associated with a location in a memory that the computer instructions were fetched from, wherein the tag indicates that the location in the memory is associated with one of an operating system code and a user application code, wherein the execution mode is one of a kernel mode and an user mode. 7. The computer system of claim 6 wherein the counter counts each subsequent occurrence of execution of at least one computer instruction occurring within a threshold relative to prior executions of the at least one computer instruction. 8. The computer system of claim 6 wherein the execution mode of the at least one computer instruction is architecture specific. 9. The computer system of claim 6 wherein filtering the subsequent occurrences of execution of the set of computer instructions based on the execution mode of the computer instructions includes removing subsequent occurrences of execution of the set of computer instructions executed in the kernel mode as not being relevant. 10. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer processor to cause the computer processor to perform a method for determining characteristics of a computer program by identifying execution characteristics of computer instructions, the method comprising: identifying a set of computer instructions; identifying an execution of at least one computer instruction of the set of computer instructions; determining which subsequent occurrences of execution of computer instructions in the set of computer instructions that are relevant to a counter based on execution characteristics of the computer instructions; and counting the subsequent occurrences of execution of each of the computer instructions in the set of computer instruction that were determined to be relevant following the executions of the at least one computer instruction, wherein determining which subsequent occurrences of execution of computer instructions in the set of computer instructions that are relevant to the counter includes filtering the subsequent occurrences of execution of the set of computer instructions based on an execution mode of the computer instructions and on a tag associated with a location in a memory that the computer instructions were fetched from, wherein the tag indicates that the location in the memory is associated with one of an operating system code and a user application code, wherein the execution mode is one of a kernel mode and an user mode. 11. The computer program product of claim 10 wherein the execution mode of the at least one computer instruction is architecture specific. 12. The computer program product of claim 10 wherein filtering the subsequent occurrences of execution of the set of computer instructions based on the execution mode of the computer instructions includes removing subsequent occurrences of execution of the set of computer instructions executed in the kernel mode as not being relevant.

Assignees

Inventors

Classifications

  • where tasks reside in different layers, e.g. user- and kernel-space · CPC title

  • using program counter relative addressing · CPC title

  • Program or instruction counter, e.g. incrementing · CPC title

  • Performance evaluation by tracing or monitoring · CPC title

  • Address tracing · 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 US11042462B2 cover?
Identifying computer program execution characteristics for determine relevance of pattern instruction executions to determine characteristics of a computer program. Filters are utilized to determine which subsequent occurrences of execution of at least one computer instruction are relevant to a counter based on execution characteristics of the at least one computer instruction where the counter…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F11/3466. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 22 2021 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).