Skip to content

What does the fill_this_level and prefetch_metadata arguments of CACHE::prefetch_line do? #433

Closed Answered by Setu-Gupta
Setu-Gupta asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @ngober for the clarification. To summarize, the first argument is the prefetch address. The second argument decides if the cache level with which the prefetcher is associated with should be filled or not. For example, if the prefetcher is associated with L2C and this argument is false, then the prefetch request will not be filled in L2C, rather it will only be filled in LLC. The last argument doesn't have any meaning in the source code. So it can be used for anything. It is typically used to pass information between prefetchers at different levels.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Setu-Gupta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant