Skip to content

Checking for fixed counter should probably use numGPCounters+1 events instead of just numGPCounters #362

@echiugoog

Description

@echiugoog

for range numGPCounters {

To determine if a fixed counter is available, should probably add in numGPCounters+1 events, instead of just numGPCounters

e.g. if there are 4 numGPCounters, we want to do
perf stat -e "event,event,event,event,event" to see if there's a fixed counter for event

Alternatively, maybe use rdmsr?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions