Patent ID: 8595472

Claim:
A method, in a data processing system, for controlling rollover or reset of hardware performance counters that count events occurring within the data processing system, comprising: receiving, in ganged hardware performance counter rollover/reset logic of the data processing system, a signal indicating that a rollover or reset of a first hardware performance counter has occurred; determining, by the ganged hardware performance counter rollover/reset logic, if the first hardware performance counter is analytically related to one or more second hardware performance counters; sending, by the ganged hardware performance counter rollover/reset logic, a signal to each of the one or more second hardware performance counters in response to a determination that the first hardware performance counter is analytically related to the one or more second hardware performance counters; and resetting each of the one or more second hardware performance counters to an initial value in response to the one or more second hardware performance counters receiving the signal from the ganged hardware performance counter rollover/reset logic.