Skip to content

Commit

Permalink
Add simplified ClockPro policy
Browse files Browse the repository at this point in the history
  • Loading branch information
chanyoung committed May 17, 2021
1 parent b58dc1c commit b498408
Show file tree
Hide file tree
Showing 3 changed files with 405 additions and 0 deletions.
Expand Up @@ -38,6 +38,7 @@
import com.github.benmanes.caffeine.cache.simulator.policy.greedy_dual.GdsfPolicy;
import com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPlusPolicy;
import com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProPolicy;
import com.github.benmanes.caffeine.cache.simulator.policy.irr.ClockProSimplePolicy;
import com.github.benmanes.caffeine.cache.simulator.policy.irr.DClockPolicy;
import com.github.benmanes.caffeine.cache.simulator.policy.irr.FrdPolicy;
import com.github.benmanes.caffeine.cache.simulator.policy.irr.HillClimberFrdPolicy;
Expand Down Expand Up @@ -206,6 +207,7 @@ private void registerIrr() {
register(LirsPolicy.class, LirsPolicy::new);
register(ClockProPolicy.class, ClockProPolicy::new);
register(ClockProPlusPolicy.class, ClockProPlusPolicy::new);
register(ClockProSimplePolicy.class, ClockProSimplePolicy::new);

registerMany(DClockPolicy.class, DClockPolicy::policies);
}
Expand Down

0 comments on commit b498408

Please sign in to comment.