gem5 v24.0.0.0
Loading...
Searching...
No Matches
base.cc File Reference

Definition of BaseCache functions. More...

#include "mem/cache/base.hh"
#include "base/compiler.hh"
#include "base/logging.hh"
#include "debug/Cache.hh"
#include "debug/CacheComp.hh"
#include "debug/CachePort.hh"
#include "debug/CacheRepl.hh"
#include "debug/CacheVerbose.hh"
#include "debug/HWPrefetch.hh"
#include "mem/cache/compressors/base.hh"
#include "mem/cache/mshr.hh"
#include "mem/cache/prefetch/base.hh"
#include "mem/cache/queue_entry.hh"
#include "mem/cache/tags/compressed_tags.hh"
#include "mem/cache/tags/partitioning_policies/partition_manager.hh"
#include "mem/cache/tags/super_blk.hh"
#include "params/BaseCache.hh"
#include "params/WriteAllocator.hh"
#include "sim/cur_tick.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 

Macros

#define SUM_DEMAND(s)
 
#define SUM_NON_DEMAND(s)
 

Detailed Description

Definition of BaseCache functions.

Definition in file base.cc.

Macro Definition Documentation

◆ SUM_DEMAND

#define SUM_DEMAND ( s)
Value:
(cmd[MemCmd::ReadReq]->s + cmd[MemCmd::WriteReq]->s + \
cmd[MemCmd::WriteLineReq]->s + cmd[MemCmd::ReadExReq]->s + \
cmd[MemCmd::ReadCleanReq]->s + cmd[MemCmd::ReadSharedReq]->s)

Referenced by gem5::BaseCache::CacheStats::regStats().

◆ SUM_NON_DEMAND

#define SUM_NON_DEMAND ( s)
Value:
(cmd[MemCmd::SoftPFReq]->s + cmd[MemCmd::HardPFReq]->s + \
cmd[MemCmd::SoftPFExReq]->s)

Referenced by gem5::BaseCache::CacheStats::regStats().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0