tree_plru_rp.hh (13221:48bce2835200) tree_plru_rp.hh (13236:8ea2f58940b0)
1/**
2 * Copyright (c) 2018 Inria
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 57 unchanged lines hidden (view full) ---

66 * Consecutive calls to instantiateEntry() use the same tree up to numLeaves.
67 * When numLeaves replacement datas have been created, a new tree is generated,
68 * and the counter is reset.
69 */
70
71#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
72#define __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
73
1/**
2 * Copyright (c) 2018 Inria
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 57 unchanged lines hidden (view full) ---

66 * Consecutive calls to instantiateEntry() use the same tree up to numLeaves.
67 * When numLeaves replacement datas have been created, a new tree is generated,
68 * and the counter is reset.
69 */
70
71#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
72#define __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
73
74#include <cstdint>
75#include <memory>
76#include <vector>
77
74#include "mem/cache/replacement_policies/base.hh"
75
76struct TreePLRURPParams;
77
78class TreePLRURP : public BaseReplacementPolicy
79{
80 private:
81 /**

--- 132 unchanged lines hidden ---
78#include "mem/cache/replacement_policies/base.hh"
79
80struct TreePLRURPParams;
81
82class TreePLRURP : public BaseReplacementPolicy
83{
84 private:
85 /**

--- 132 unchanged lines hidden ---