Skip to content

feat: prefetch hit detection via cache listener - #2

Open
ivlub wants to merge 1 commit into
caps-tum:masterfrom
ivlub:feat/prefetch-detection
Open

feat: prefetch hit detection via cache listener#2
ivlub wants to merge 1 commit into
caps-tum:masterfrom
ivlub:feat/prefetch-detection

Conversation

@ivlub

@ivlub ivlub commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Adds detection of hardware prefetcher hits in mem-traces.csv via the tracerCacheListener subcomponent.

The cache listener's notifyAccess fires on every internal event.
On PREFETCH + MISS, the address is added to a per-instance prefetchedCacheLines set.
On READ/WRITE + HIT, if the address is in that set, the demand access hit a prefetched line, and hence we mark the corresponding trace entry as prefetched.
on EVICT, the address is removed.

Requires: SST-Elements with getEventID() on CacheListenerNotification (PR #2622)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant