Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

mcyclecfg.OF and minstretcfg.OF #1

@sorear

Description

@sorear

I'm extremely late to the party but I can't find where this was previously discussed. "cycles" and "instructions" are two of the most useful events for perf-record, and since instret is deterministic stopping at an instruction count would enable portable reverse-execution tools that jump to known positions in the instruction stream (icount triggers are less useful for this since they are limited to 2^14 instructions and interrupts are counted as instructions).

Is there an analysis on providing interrupt enables and overflow flags for cycle and instret to bring them up to parity with the non-architectural counters?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions