fifo_rp.hh (12684:44ebd2bc020f) fifo_rp.hh (12685:dcf85db6ec5c)
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;

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

38#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_FIFO_RP_HH__
39#define __MEM_CACHE_REPLACEMENT_POLICIES_FIFO_RP_HH__
40
41#include "mem/cache/replacement_policies/base.hh"
42#include "params/FIFORP.hh"
43
44class FIFORP : public BaseReplacementPolicy
45{
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;

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

38#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_FIFO_RP_HH__
39#define __MEM_CACHE_REPLACEMENT_POLICIES_FIFO_RP_HH__
40
41#include "mem/cache/replacement_policies/base.hh"
42#include "params/FIFORP.hh"
43
44class FIFORP : public BaseReplacementPolicy
45{
46 protected:
46 /** FIFO-specific implementation of replacement data. */
47 struct FIFOReplData : ReplacementData
48 {
49 /** Tick on which the entry was inserted. */
50 Tick tickInserted;
51
52 /**
53 * Default constructor. Invalidate data.

--- 63 unchanged lines hidden ---
47 /** FIFO-specific implementation of replacement data. */
48 struct FIFOReplData : ReplacementData
49 {
50 /** Tick on which the entry was inserted. */
51 Tick tickInserted;
52
53 /**
54 * Default constructor. Invalidate data.

--- 63 unchanged lines hidden ---