Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom prefetchers in drcachesim #6999

Merged
merged 6 commits into from
Sep 23, 2024

Conversation

conNULL
Copy link
Contributor

@conNULL conNULL commented Sep 20, 2024

Add constructors to the cache_simulator_t that accept a custom prefetcher factory argument.
No change to default behavior.
Added unit tests for a custom prefetcher and the existing nextline prefetcher.

@conNULL
Copy link
Contributor Author

conNULL commented Sep 20, 2024

I think the one failed check is unrelated and is failing without this change as well. It appears that I can't request a review without write access to this repository, but this change should be ready for review.

@brettcoon brettcoon self-requested a review September 20, 2024 22:35
Copy link
Contributor

@brettcoon brettcoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. I have a couple requests before this goes in.

clients/drcachesim/simulator/cache_simulator.h Outdated Show resolved Hide resolved
clients/drcachesim/simulator/prefetcher.h Outdated Show resolved Hide resolved
clients/drcachesim/simulator/prefetcher.h Outdated Show resolved Hide resolved
clients/drcachesim/tests/drcachesim_unit_tests.cpp Outdated Show resolved Hide resolved
@derekbruening
Copy link
Contributor

I think the one failed check is unrelated and is failing without this change as well.

Yes, Github jumped doxygen to 1.12 on the Mac VM's which broke the build there: fixed in #7001

Copy link
Contributor

@brettcoon brettcoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for updating it. I don't think you have permissions to merge it in yourself, so I can take it from here.

@conNULL
Copy link
Contributor Author

conNULL commented Sep 23, 2024

Perfect, thanks for the review!

@brettcoon brettcoon merged commit 0e1fc13 into DynamoRIO:master Sep 23, 2024
17 checks passed
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.

3 participants