Skip to content

Commit

Permalink
modify RI dist to add infinite entry before calculating the costs
Browse files Browse the repository at this point in the history
  • Loading branch information
dongchen-coder committed Nov 2, 2019
1 parent b27f480 commit 2dbcee0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_facility/utility/reference_lease.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,10 @@ void getMaxPPUC(bool*finished, uint64_t* ref_to_assign, uint64_t* newLease) {
void OSL_ref(uint64_t CacheSize) {

cout << "Start to init hits and costs" << endl;
initHitsCosts();

RIwithInfinite();
initHitsCosts();

//accessRatioCal();
cout << "Finished to init hits and costs" << endl;

Expand Down

0 comments on commit 2dbcee0

Please sign in to comment.