Deleted Added
sdiff udiff text old ( 13218:5e7df60c6cab ) new ( 13225:8d1621fc586e )
full compact
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;

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

28 * Authors: Daniel Carvalho
29 */
30
31#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_BASE_HH__
32#define __MEM_CACHE_REPLACEMENT_POLICIES_BASE_HH__
33
34#include <memory>
35
36#include "mem/cache/replacement_policies/replaceable_entry.hh"
37#include "params/BaseReplacementPolicy.hh"
38#include "sim/sim_object.hh"
39
40/**
41 * Replacement candidates as chosen by the indexing policy.
42 */
43typedef std::vector<ReplaceableEntry*> ReplacementCandidates;
44
45/**
46 * A common base class of cache replacement policy objects.
47 */
48class BaseReplacementPolicy : public SimObject

--- 59 unchanged lines hidden ---