Event rate change based hardware performance data collection
First Claim
Patent Images
1. A method for writing performance data to memory based on a hardware event rate change, the method comprising:
- receiving a hardware event count associated with a computer processor;
creating a reference table comprising a plurality of nearest powers of two, wherein each nearest power of two corresponds to an associated most significant bit of a binary number;
retrieving a nearest power of two associated with the previous hardware event count;
comparing the hardware event count to a previous hardware event count;
computing the hardware event rate change associated with a change between the hardware event count and the previous hardware event count; and
responsive to the hardware event rate change not equaling a threshold rate, writing the hardware event count to memory.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach for writing performance data to memory based on a hardware event rate change involving receiving a hardware event count associated with a computer processor, comparing the hardware event count to a previous hardware event count, computing the hardware event rate change associated with a change between the hardware event count and the previous hardware event count and, responsive to the hardware event rate change not equaling a threshold rate, writing the hardware event count to memory.
15 Citations
17 Claims
-
1. A method for writing performance data to memory based on a hardware event rate change, the method comprising:
-
receiving a hardware event count associated with a computer processor; creating a reference table comprising a plurality of nearest powers of two, wherein each nearest power of two corresponds to an associated most significant bit of a binary number; retrieving a nearest power of two associated with the previous hardware event count; comparing the hardware event count to a previous hardware event count; computing the hardware event rate change associated with a change between the hardware event count and the previous hardware event count; and responsive to the hardware event rate change not equaling a threshold rate, writing the hardware event count to memory. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer system for writing performance data to memory based on a hardware event rate change, the computer system comprising:
-
one or more computer processors; one or more computer readable storage media; an event rate analyzer comprising a count comparator, a data writer, a rate calculator and a table creator; program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive a hardware event count associated with a computer processor; program instructions to create a reference table comprising a plurality of nearest powers of two, wherein each nearest power of two corresponds to an associated most significant bit of a binary number; program instruction to retrieve a nearest power of two associated with the previous hardware event count; program instructions to compare the hardware event count to a previous hardware event count; program instructions to compute the hardware event rate change associated with a change between the hardware event count and the previous hardware event count; and program instructions to, responsive to the hardware event rate change not equaling a threshold rate, write the hardware event count to memory. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. An apparatus for writing performance data to memory based on a hardware event rate change, the apparatus comprising:
-
a count comparator for receiving a hardware event count associated with a computer processor and comparing the hardware event count to a previous hardware event count; a table creator for creating a reference table comprising a plurality of nearest powers of two, wherein each nearest power of two corresponds to an associated most significant bit of a binary number and the count comparator retrieves a nearest power of two associated with the previous hardware event count; a rate calculator for computing the hardware event rate change associated with a change between the hardware event count and the previous hardware event count; and a data writer for writing the hardware event count to memory when the hardware event rate change does not equal a threshold rate. - View Dependent Claims (14, 15, 16, 17)
-
Specification