gem5
v20.0.0.0
|
Go to the source code of this file.
Functions | |
TEST (CircleBufTest, BasicReadWriteNoOverflow) | |
TEST (CircleBufTest, SingleWriteOverflow) | |
TEST (CircleBufTest, MultiWriteOverflow) | |
TEST (CircleBufTest, PointerWrapAround) | |
Variables | |
const char | data [] |
TEST | ( | CircleBufTest | , |
BasicReadWriteNoOverflow | |||
) |
Definition at line 48 of file circlebuf.test.cc.
References data, EXPECT_EQ, GuestABI::foo(), CircleBuf< T >::peek(), CircleBuf< T >::read(), CircularQueue< T >::size(), and CircleBuf< T >::write().
TEST | ( | CircleBufTest | , |
SingleWriteOverflow | |||
) |
Definition at line 69 of file circlebuf.test.cc.
References data, EXPECT_EQ, GuestABI::foo(), CircleBuf< T >::peek(), CircularQueue< T >::size(), and CircleBuf< T >::write().
TEST | ( | CircleBufTest | , |
MultiWriteOverflow | |||
) |
Definition at line 82 of file circlebuf.test.cc.
References data, EXPECT_EQ, GuestABI::foo(), CircleBuf< T >::peek(), CircularQueue< T >::size(), and CircleBuf< T >::write().
TEST | ( | CircleBufTest | , |
PointerWrapAround | |||
) |
Definition at line 97 of file circlebuf.test.cc.
References data, EXPECT_EQ, GuestABI::foo(), CircleBuf< T >::read(), CircularQueue< T >::size(), and CircleBuf< T >::write().
const char data[] |
Definition at line 42 of file circlebuf.test.cc.
Referenced by cp::_format_char(), cp::_format_float(), cp::_format_integer(), cp::_format_string(), Stats::DistBase< Distribution, DistStor >::add(), Net::EthAddr::addr(), RepeatedQwordsCompressor::addToDictionary(), ZeroCompressor::addToDictionary(), CPack::addToDictionary(), BaseDelta< uint64_t, 16 >::addToDictionary(), FPCD::addToDictionary(), BaseKvmCPU::archIsDrained(), RiscvProcess::argsInit(), DataBlock::assign(), SimpleLTTarget1::b_transport(), Net::EthAddr::broadcast(), TimingSimpleCPU::buildSplitPacket(), Net::EthAddr::bytes(), PacketFifo::copyout(), GenericTimerMem::counterCtrlWrite(), PerfectCompressor::decompress(), DictionaryCompressor< T >::UncompressedPattern< BaseType >::decompress(), DictionaryCompressor< uint64_t >::decompressValue(), BaseDynInst< Impl >::demapDataPage(), CheckerCPU::demapDataPage(), X86ISA::TLB::demapPage(), X86ISA::GpuTLB::demapPage(), IdeController::dispatchAccess(), SparcISA::TLB::doMmuRegWrite(), Trace::Logger::dump(), VirtDescriptor::dump(), LSQ< Impl >::dumpInsts(), SimpleLTInitiator2_dmi::end_of_simulation(), SimpleLTInitiator1_dmi::end_of_simulation(), SimpleLTInitiator_ext::end_of_simulation(), IdeController::EndBitUnion(), Net::EthAddr::EthAddr(), HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >::execute(), Gcn3ISA::Inst_DS__DS_WRITE_B32::execute(), Gcn3ISA::Inst_DS__DS_WRITE_B8::execute(), Gcn3ISA::Inst_DS__DS_WRITE_B16::execute(), Gcn3ISA::Inst_DS__DS_WRITE_B64::execute(), Net::Ip6Hdr::extensionLength(), FetchUnit::fetch(), RubyRequest::functionalWrite(), RiscvISA::CSROp::generateDisassembly(), RefCountingPtr< MinorDynInst >::get(), cp::Print::get_number(), KvmDevice::getAttr(), KvmDevice::getAttrPtr(), Packet::getConstPtr(), Minor::LSQ::getDcachePort(), Net::Ip6Hdr::getExt(), GPUCoalescer::getFirstResponseToCompletionDelayHist(), AtomicSimpleCPU::getInstPort(), TimingSimpleCPU::getInstPort(), Minor::LSQ::getLastMemBarrier(), BaseDelta< uint64_t, 16 >::getName(), RepeatedQwordsCompressor::getPattern(), ZeroCompressor::getPattern(), CPack::getPattern(), FPCD::getPattern(), Packet::getPtr(), X86KvmCPU::handleIOMiscReg32(), PS2Device::hostDataAvailable(), PS2Device::hostRead(), CPA::hwWe(), Gcn3ISA::Inst_MUBUF__BUFFER_STORE_BYTE::initiateAcc(), Gcn3ISA::Inst_MUBUF__BUFFER_STORE_SHORT::initiateAcc(), Gcn3ISA::Inst_MUBUF__BUFFER_STORE_DWORD::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_STORE_BYTE::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_STORE_SHORT::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_STORE_DWORD::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_STORE_DWORDX2::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_ATOMIC_CMPSWAP::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_ATOMIC_ADD::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_ATOMIC_CMPSWAP_X2::initiateAcc(), Gcn3ISA::Inst_FLAT__FLAT_ATOMIC_ADD_X2::initiateAcc(), Check::initiatePrefetch(), SimpleCache::insert(), ClDriver::ioctl(), Loader::ElfObject::loadSomeSymbols(), Minor::LSQ::LSQRequest::makePacket(), DMASequencer::makeRequest(), PortProxy::memsetBlob(), SubBlock::mergeFrom(), Minor::Decode::minorTrace(), Minor::MinorBuffer< Minor::ForwardInstData >::minorTrace(), Minor::Fetch2::minorTrace(), Minor::Fetch1::minorTrace(), Minor::Queue< Minor::ForwardInstData, ReportTraitsAdaptor< Minor::ForwardInstData >, BubbleTraitsAdaptor< Minor::ForwardInstData > >::minorTrace(), ExplicitLTTarget::myBTransport(), SimpleLTTarget2::myBTransport(), ExplicitATTarget::myNBTransport(), SimpleLTTarget_ext::myNBTransport(), SimpleATTarget2::myNBTransport(), SimpleATTarget1::myNBTransport(), Gicv3Distributor::nsAccessToSecInt(), VirtIOConsole::TermTransQueue::onNotifyDescriptor(), VirtIO9PBase::FSQueue::onNotifyDescriptor(), Linux::openSpecialFile(), Net::EthAddr::operator uint64_t(), RefCountingPtr< MinorDynInst >::operator*(), Stats::ScalarBase< Scalar, StatStor >::operator++(), Stats::ScalarBase< Scalar, StatStor >::operator+=(), Stats::ScalarBase< Scalar, StatStor >::operator--(), Stats::ScalarBase< Scalar, StatStor >::operator-=(), RefCountingPtr< MinorDynInst >::operator->(), Net::EthAddr::operator=(), sc_dt::sc_concatref::operator=(), Stats::ScalarBase< Scalar, StatStor >::operator=(), Net::IpHdr::options(), Net::TcpHdr::options(), sc_gem5::packet2payload(), Net::EthAddr::parse(), sc_dt::parse_binary_bits(), sc_dt::parse_hex_bits(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::prepare(), Stats::ScalarBase< Scalar, StatStor >::prepare(), Stats::Vector2dBase< Vector2d, StatStor >::prepare(), Stats::DistBase< Distribution, DistStor >::prepare(), Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::prepare(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::prepare(), AnnotateDumpCallback::process(), Gicv3Redistributor::processorNumber(), Net::Ip6Hdr::proto(), SimpleUart::read(), SimpleDisk::read(), Pl011::read(), HDLcd::read(), PL031::read(), Pl050::read(), VirtIOBlock::read(), X86ISA::I8042::read(), PortProxy::read(), Pl111::read(), UFSHostDevice::read(), X86ISA::I8042::readDataOut(), GicV2::readDistributor(), Iob::readIob(), Iob::readJBus(), ArmISA::readVecElem(), Stats::DataWrapVec< VectorStandardDeviation, VectorDistInfoProxy >::reset(), Stats::ScalarBase< Scalar, StatStor >::reset(), Stats::Vector2dBase< Vector2d, StatStor >::reset(), Stats::DistBase< Distribution, DistStor >::reset(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::reset(), Stats::StatStor::result(), Stats::ScalarBase< Scalar, StatStor >::result(), Stats::VectorBase< Vector, StatStor >::result(), Stats::VectorProxy< Stat >::result(), Stats::DistBase< Distribution, DistStor >::sample(), Stats::DistProxy< Stat >::sample(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::sample(), SC_MODULE(), TimingSimpleCPU::sendData(), EtherTapStub::sendReal(), EthPacketData::serialize(), VirtIO9PProxy::serverDataReady(), tlm::tlm_generic_payload::set_data_ptr(), KvmDevice::setAttr(), KvmDevice::setAttrPtr(), SubBlock::setByte(), DataBlock::setByte(), IdeDisk::setController(), SimpleATInitiator2::MyTransaction< DT >::setData(), SimpleATInitiator1::MyTransaction< DT >::setData(), QoS::Policy::setMemCtrl(), ArmISA::simd_modified_imm(), Stats::DistBase< Distribution, DistStor >::size(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::size(), HSADevice::submitVendorPkt(), TEST(), testAndRead(), testAndReadMask(), testAndWrite(), MemTest::tick(), GenericTimerMem::timerCtrlWrite(), GenericTimerFrame::timerWrite(), Stats::VectorBase< Vector, StatStor >::total(), Stats::VectorProxy< Stat >::total(), Stats::Vector2dBase< Vector2d, StatStor >::total(), Trace::ExeTracerRecord::traceInst(), BaseRemoteGDB::trap(), Net::EthAddr::unicast(), EthPacketData::unserialize(), ArmISA::upperAndLowerRange(), Stats::StatStor::value(), Stats::ScalarBase< Scalar, StatStor >::value(), Stats::VectorBase< Vector, StatStor >::value(), ArmISA::vfp_modified_imm(), Stats::Hdf5::visit(), SimpleUart::write(), Sp805::write(), Pl011::write(), IsaFake::write(), FVPBasePwrCtrl::write(), HDLcd::write(), Gicv3::write(), EnergyCtrl::write(), Pl050::write(), X86ISA::I8042::write(), VirtIOBlock::write(), Gicv3Distributor::write(), Pl111::write(), GenericTimerFrame::write(), GenericTimerMem::write(), LSQUnit< Impl >::write(), UFSHostDevice::write(), IdeDisk::writeCommand(), IdeController::writeConfig(), GicV2::writeCpu(), MC146818::writeData(), GicV2::writeDistributor(), Iob::writeIob(), Iob::writeJBus(), Stats::VectorBase< Vector, StatStor >::zero(), Stats::Vector2dBase< Vector2d, StatStor >::zero(), Stats::DistBase< Distribution, DistStor >::zero(), Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::zero(), Stats::DistProxy< Stat >::zero(), Stats::SparseHistBase< SparseHistogram, SparseHistStor >::zero(), BaseCacheCompressor::~BaseCacheCompressor(), DataBlock::~DataBlock(), DiskImage::~DiskImage(), Intel8254Timer::~Intel8254Timer(), Minor::LSQ::LSQRequest::~LSQRequest(), Prefetcher::Base::PrefetchInfo::~PrefetchInfo(), Stats::Vector2dBase< Vector2d, StatStor >::~Vector2dBase(), Stats::VectorBase< Vector, StatStor >::~VectorBase(), and Stats::VectorDistBase< VectorAverageDeviation, AvgSampleStor >::~VectorDistBase().