gem5  v20.1.0.0
Functions
Address.hh File Reference
#include <cassert>
#include <iomanip>
#include <iostream>
#include "base/types.hh"

Go to the source code of this file.

Functions

Addr bitSelect (Addr addr, unsigned int small, unsigned int big)
 
Addr maskLowOrderBits (Addr addr, unsigned int number)
 
Addr getOffset (Addr addr)
 
Addr makeLineAddress (Addr addr)
 
Addr makeLineAddress (Addr addr, int cacheLineBits)
 
Addr makeNextStrideAddress (Addr addr, int stride)
 
std::string printAddress (Addr addr)
 

Function Documentation

◆ bitSelect()

Addr bitSelect ( Addr  addr,
unsigned int  small,
unsigned int  big 
)

Definition at line 35 of file Address.cc.

References addr.

Referenced by CheckTable::addCheck(), CacheMemory::addressToCacheSet(), getOffset(), and mapAddressToRange().

◆ getOffset()

Addr getOffset ( Addr  addr)

◆ makeLineAddress() [1/2]

Addr makeLineAddress ( Addr  addr)

Definition at line 54 of file Address.cc.

References addr, and RubySystem::getBlockSizeBits().

Referenced by RubyPrefetcher::accessNonunitFilter(), RubyPrefetcher::accessUnitFilter(), CacheMemory::addressToCacheSet(), AddressProfiler::addTraceSample(), PerfectCacheMemory< ENTRY >::allocate(), CacheMemory::allocate(), GPUCoalescer::atomicCallback(), CacheMemory::cacheAvail(), CacheMemory::cacheProbe(), PerfectCacheMemory< ENTRY >::changePermission(), GPUCoalescer::coalescePacket(), PersistentTable::countReadStarvingForAddress(), PersistentTable::countStarvingForAddress(), PerfectCacheMemory< ENTRY >::deallocate(), PersistentTable::findSmallest(), CacheMemory::findTagInSet(), CacheMemory::findTagInSetIgnorePermissions(), RubySystem::functionalRead(), RubySystem::functionalWrite(), PerfectCacheMemory< ENTRY >::getPermission(), Sequencer::hitCallback(), GPUCoalescer::hitCallback(), HTMSequencer::htmCallback(), RubyPrefetcher::initializeStream(), FetchUnit::initiateFetch(), Sequencer::insertRequest(), PersistentTable::isLocked(), TBETable< ENTRY >::isPresent(), DMASequencer::issueNext(), VIPERCoalescer::issueRequest(), PerfectCacheMemory< ENTRY >::isTagPresent(), Sequencer::llscCheckMonitor(), PerfectCacheMemory< ENTRY >::lookup(), CacheMemory::lookup(), makeNextStrideAddress(), DMASequencer::makeRequest(), Sequencer::makeRequest(), PersistentTable::markEntries(), FetchUnit::FetchBufDesc::nextFetchAddr(), RubyPrefetcher::observeMiss(), PersistentTable::okToIssueStarving(), Check::performCallback(), PersistentTable::persistentRequestLock(), PersistentTable::persistentRequestUnlock(), printAddress(), Sequencer::readCallback(), GPUCoalescer::readCallback(), RubyPort::MemResponsePort::recvFunctional(), RubyRequest::RubyRequest(), TimerTable::set(), CacheMemory::setMRU(), testAndRead(), testAndReadMask(), testAndWrite(), PersistentTable::typeOfSmallest(), TimerTable::unset(), Sequencer::writeCallback(), GPUCoalescer::writeCallback(), and VIPERCoalescer::writeCompleteCallback().

◆ makeLineAddress() [2/2]

Addr makeLineAddress ( Addr  addr,
int  cacheLineBits 
)

Definition at line 60 of file Address.cc.

References addr, and maskLowOrderBits().

◆ makeNextStrideAddress()

Addr makeNextStrideAddress ( Addr  addr,
int  stride 
)

◆ maskLowOrderBits()

Addr maskLowOrderBits ( Addr  addr,
unsigned int  number 
)

Definition at line 42 of file Address.cc.

References addr.

Referenced by makeLineAddress().

◆ printAddress()

std::string printAddress ( Addr  addr)

Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17