gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::CacheDataUpdateProbeArg Struct Reference

A data contents update is composed of the updated block's address, the old contents, and the new contents. More...

#include <cache_probe_arg.hh>

Public Member Functions

 CacheDataUpdateProbeArg (Addr _addr, bool is_secure, RequestorID _requestorID, CacheAccessor &_accessor)
 

Public Attributes

Addr addr
 The updated block's address.
 
bool isSecure
 Whether the block belongs to the secure address space.
 
const RequestorID requestorID
 Block original requestor.
 
std::vector< uint64_t > oldData
 The stale data contents.
 
std::vector< uint64_t > newData
 The new data contents.
 
bool hwPrefetched
 Set if the update is from a prefetch or evicting a prefetched block that was never used.
 
CacheAccessoraccessor
 Accessor for the cache.
 

Detailed Description

A data contents update is composed of the updated block's address, the old contents, and the new contents.

See also
ppDataUpdate in gem5::BaseCache (src/mem/cache/base.hh)

Definition at line 96 of file cache_probe_arg.hh.

Constructor & Destructor Documentation

◆ CacheDataUpdateProbeArg()

gem5::CacheDataUpdateProbeArg::CacheDataUpdateProbeArg ( Addr _addr,
bool is_secure,
RequestorID _requestorID,
CacheAccessor & _accessor )
inline

Definition at line 114 of file cache_probe_arg.hh.

Member Data Documentation

◆ accessor

CacheAccessor& gem5::CacheDataUpdateProbeArg::accessor

Accessor for the cache.

Definition at line 112 of file cache_probe_arg.hh.

◆ addr

Addr gem5::CacheDataUpdateProbeArg::addr

The updated block's address.

Definition at line 99 of file cache_probe_arg.hh.

◆ hwPrefetched

bool gem5::CacheDataUpdateProbeArg::hwPrefetched

Set if the update is from a prefetch or evicting a prefetched block that was never used.

Definition at line 110 of file cache_probe_arg.hh.

Referenced by gem5::ruby::RubyPrefetcherProxy::notifyPfEvict(), gem5::BaseCache::satisfyRequest(), and gem5::BaseCache::updateBlockData().

◆ isSecure

bool gem5::CacheDataUpdateProbeArg::isSecure

Whether the block belongs to the secure address space.

Definition at line 101 of file cache_probe_arg.hh.

◆ newData

std::vector<uint64_t> gem5::CacheDataUpdateProbeArg::newData

◆ oldData

std::vector<uint64_t> gem5::CacheDataUpdateProbeArg::oldData

The stale data contents.

If zero-sized this update is a fill.

Definition at line 105 of file cache_probe_arg.hh.

Referenced by gem5::BaseCache::cmpAndSwap(), gem5::compression::FrequentValues::probeNotify(), gem5::BaseCache::satisfyRequest(), and gem5::BaseCache::updateBlockData().

◆ requestorID

const RequestorID gem5::CacheDataUpdateProbeArg::requestorID

Block original requestor.

Definition at line 103 of file cache_probe_arg.hh.


The documentation for this struct was generated from the following file:

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