lanl / PPT

Performance Prediction Toolkit
51 stars 12 forks source link

What is the meaning of -1 reuse distance in ppt lite? #3

Open zzczzc20 opened 1 year ago

zzczzc20 commented 1 year ago

There is a line of code in ppt_lite:

if (D == -1):   D = hw.cache_sizes[2] 

(in function phit_D).

Does D == -1 mean an infinite reuse distance?