gem5
|
#include <ios>
#include <iostream>
#include <list>
#include <string>
#include "base/cprintf_formats.hh"
Go to the source code of this file.
Classes | |
struct | cp::Print |
Namespaces | |
cp | |
Functions | |
void | ccprintf (cp::Print &print) |
template<typename T , typename... Args> | |
void | ccprintf (cp::Print &print, const T &value, const Args &...args) |
template<typename... Args> | |
void | ccprintf (std::ostream &stream, const char *format, const Args &...args) |
template<typename... Args> | |
void | cprintf (const char *format, const Args &...args) |
template<typename... Args> | |
std::string | csprintf (const char *format, const Args &...args) |
template<typename... Args> | |
void | ccprintf (std::ostream &stream, const std::string &format, const Args &...args) |
template<typename... Args> | |
void | cprintf (const std::string &format, const Args &...args) |
template<typename... Args> | |
std::string | csprintf (const std::string &format, const Args &...args) |
|
inline |
Definition at line 130 of file cprintf.hh.
References cp::Print::end_args().
Referenced by abortHandler(), Terminal::accept(), Stats::Text::begin(), ccprintf(), MemTest::completeRequest(), cprintf(), csprintf(), X86ISA::X86FaultBase::describe(), X86ISA::PageFault::describe(), Trace::Logger::dprintf(), Trace::IntelTraceRecord::dump(), ProfileNode::dump(), Trace::Logger::dump(), FunctionProfile::dump(), dumpDmesgEntry(), Trace::ExeTracerRecord::dumpTicks(), Stats::Text::end(), AbstractMemory::functionalAccess(), PowerISA::MiscOp::generateDisassembly(), ArmISA::SysDC64::generateDisassembly(), PowerISA::CondLogicOp::generateDisassembly(), RegRegImmImmOp64::generateDisassembly(), PowerISA::PowerStaticInst::generateDisassembly(), ArmISA::DataXImmOnlyOp::generateDisassembly(), RegRegRegImmOp64::generateDisassembly(), MsrImmOp::generateDisassembly(), PowerISA::CondMoveOp::generateDisassembly(), PowerISA::MemDispOp::generateDisassembly(), PowerISA::BranchPCRel::generateDisassembly(), PowerISA::IntOp::generateDisassembly(), X86ISA::X86MicroopBase::generateDisassembly(), PowerISA::IntImmOp::generateDisassembly(), X86ISA::RegOpImm::generateDisassembly(), PowerISA::BranchNonPCRel::generateDisassembly(), ArmISA::DataX1RegOp::generateDisassembly(), X86ISA::MediaOpImm::generateDisassembly(), PowerISA::IntShiftOp::generateDisassembly(), ArmISA::BranchImmReg64::generateDisassembly(), ArmISA::DataX1RegImmOp::generateDisassembly(), ArmISA::MemoryImm64::generateDisassembly(), ImmOp::generateDisassembly(), PowerISA::FloatOp::generateDisassembly(), ArmISA::MemoryDImm64::generateDisassembly(), ArmISA::DataX1Reg2ImmOp::generateDisassembly(), RegImmOp::generateDisassembly(), ArmISA::BranchImmImmReg64::generateDisassembly(), ArmISA::MemoryDImmEx64::generateDisassembly(), ArmISA::DataX2RegOp::generateDisassembly(), PowerISA::IntRotateOp::generateDisassembly(), ArmISA::MemoryPreIndex64::generateDisassembly(), ArmISA::DataX2RegImmOp::generateDisassembly(), RegImmRegOp::generateDisassembly(), ArmISA::MemoryPostIndex64::generateDisassembly(), ArmISA::DataX3RegOp::generateDisassembly(), PowerISA::BranchPCRelCond::generateDisassembly(), RegRegRegImmOp::generateDisassembly(), ArmISA::MemoryReg64::generateDisassembly(), ArmISA::DataXCondCompImmOp::generateDisassembly(), ArmISA::MemoryRaw64::generateDisassembly(), PowerISA::BranchNonPCRelCond::generateDisassembly(), ArmISA::DataXCondCompRegOp::generateDisassembly(), ArmISA::MemoryEx64::generateDisassembly(), ArmISA::MemoryLiteral64::generateDisassembly(), ArmISA::DataXCondSelOp::generateDisassembly(), PowerISA::BranchRegCond::generateDisassembly(), RegRegImmOp::generateDisassembly(), MiscRegRegImmOp::generateDisassembly(), RegMiscRegImmOp::generateDisassembly(), ArmISA::MicroIntImmOp::generateDisassembly(), RegImmImmOp::generateDisassembly(), ArmISA::MicroIntImmXOp::generateDisassembly(), RegRegImmImmOp::generateDisassembly(), ArmISA::PredMacroOp::generateDisassembly(), RegImmRegShiftOp::generateDisassembly(), ArmISA::MicroIntRegXOp::generateDisassembly(), ArmISA::MicroMemOp::generateDisassembly(), ArmISA::MicroMemPairOp::generateDisassembly(), ArmISA::FpCondCompRegOp::generateDisassembly(), ArmISA::FpCondSelOp::generateDisassembly(), ArmISA::FpRegImmOp::generateDisassembly(), ArmISA::FpRegRegImmOp::generateDisassembly(), ArmISA::FpRegRegRegImmOp::generateDisassembly(), Terminal::listen(), VncServer::listen(), TapListener::listen(), GDBListener::listen(), Trace::OstreamLogger::logMessage(), main(), Trace::NativeTrace::NativeTrace(), Stats::ScalarPrint::operator()(), Stats::VectorPrint::operator()(), Stats::DistPrint::operator()(), Net::operator<<(), GenericISA::operator<<(), X86ISA::operator<<(), Throttle::print(), Logger::print(), WriteQueueEntry::TargetList::print(), MessageBuffer::print(), WriteQueueEntry::print(), MSHR::TargetList::print(), MSHR::print(), CacheBlkPrintWrapper::print(), ArmISA::ArmStaticInst::printDataInst(), Logger::printEpilogue(), ExitLogger::printEpilogue(), ArmISA::ArmStaticInst::printExtendOperand(), Packet::PrintReqState::printLabels(), X86ISA::X86StaticInst::printMem(), ArmISA::ArmStaticInst::printMemSymbol(), X86ISA::X86StaticInst::printMnemonic(), ArmISA::MemoryImm::printOffset(), ArmISA::MemoryReg::printOffset(), PowerISA::PowerStaticInst::printReg(), X86ISA::X86StaticInst::printReg(), ArmISA::ArmStaticInst::printReg(), X86ISA::X86StaticInst::printSegment(), ArmISA::ArmStaticInst::printTarget(), DumpStatsPCEvent::process(), System::regStats(), ArmISA::ArmStaticInst::shift_carry_imm(), ArmISA::ArmStaticInst::shift_carry_rs(), ArmISA::ArmStaticInst::shift_rm_imm(), ArmISA::ArmStaticInst::shift_rm_rs(), ArmISA::ArmStaticInst::shiftReg64(), ArmISA::Memory64::startDisassembly(), and Trace::ExeTracerRecord::traceInst().
void ccprintf | ( | cp::Print & | print, |
const T & | value, | ||
const Args &... | args | ||
) |
Definition at line 137 of file cprintf.hh.
References cp::Print::add_arg(), and ccprintf().
void ccprintf | ( | std::ostream & | stream, |
const char * | format, | ||
const Args &... | args | ||
) |
Definition at line 146 of file cprintf.hh.
References ccprintf().
void ccprintf | ( | std::ostream & | stream, |
const std::string & | format, | ||
const Args &... | args | ||
) |
Definition at line 174 of file cprintf.hh.
References ccprintf().
void cprintf | ( | const char * | format, |
const Args &... | args | ||
) |
Definition at line 155 of file cprintf.hh.
References ccprintf().
Referenced by Stats::Info::baseCheck(), Debug::breakpoint(), UnitTest::checkVal(), EventQueue::debugVerify(), Trie< Key, Value >::Node::dump(), ActivityRecorder::dump(), StoreSet::dump(), PCEventQueue::dump(), DependencyGraph< DynInstPtr >::dump(), BPredUnit::dump(), Trie< Addr, X86ISA::TlbEntry >::dump(), Event::dump(), BaseDynInst< Impl >::dump(), EventQueue::dump(), Checker< Impl >::dumpAndExit(), dumpDebugFlags(), DefaultRename< Impl >::dumpHistory(), LSQUnit< Impl >::dumpInsts(), Checker< Impl >::dumpInsts(), InstructionQueue< Impl >::dumpInsts(), FullO3CPU< Impl >::dumpInsts(), MemDepUnit< MemDepPred, Impl >::dumpLists(), InstructionQueue< Impl >::dumpLists(), X86ISA::GpuTLB::GpuTLB(), EmbeddedPyBind::init(), StatTest::init(), main(), UnitTest::printResults(), and InstructionQueue< Impl >::~InstructionQueue().
void cprintf | ( | const std::string & | format, |
const Args &... | args | ||
) |
Definition at line 180 of file cprintf.hh.
References ccprintf().
std::string csprintf | ( | const char * | format, |
const Args &... | args | ||
) |
Definition at line 161 of file cprintf.hh.
References ccprintf().
Referenced by CxxConfigManager::bindMasterPort(), CxxConfigManager::bindObjectPorts(), CxxConfigManager::bindPort(), BaseRemoteGDB::cmd_signal(), CoherentXBar::CoherentXBar(), MemChecker::completeRead(), csprintf(), SRegOperand::disassemble(), DRegOperand::disassemble(), CRegOperand::disassemble(), ImmOperand< T >::disassemble(), AddrOperandBase::disassemble(), ListOperand::disassemble(), FunctionRefOperand::disassemble(), Pl111::dmaDone(), O3ThreadState< Impl >::dumpFuncProfile(), SimpleThread::dumpFuncProfile(), Linux::etcPasswd(), EtherSwitch::EtherSwitch(), CxxConfigManager::findObject(), CxxConfigManager::findObjectParams(), CxxConfigManager::findObjectType(), HsailISA::BrnInstBase< TargetType >::generateDisassembly(), DecoderFaultInst::generateDisassembly(), PowerISA::MemOp::generateDisassembly(), FailUnimplemented::generateDisassembly(), UnknownOp64::generateDisassembly(), HsailISA::CommonInstBase< DestDataType::OperandType, SrcDataType::OperandType, 1 >::generateDisassembly(), WarnUnimplemented::generateDisassembly(), McrMrcMiscInst::generateDisassembly(), HsailISA::CbrInstBase< TargetType >::generateDisassembly(), HsailISA::LdaInst< DestDataType, AddrOperandType >::generateDisassembly(), HsailISA::ThreeNonUniformSourceInstBase< DataType::OperandType, B1::OperandType, DataType::OperandType, DataType::OperandType >::generateDisassembly(), HsailISA::BrInstBase< TargetType >::generateDisassembly(), UnknownOp::generateDisassembly(), HsailISA::LdInst< MemDataType, DestDataType, AddrOperandType >::generateDisassembly(), HsailISA::TwoNonUniformSourceInstBase< DestDataType::OperandType, Src0DataType::OperandType, Src1DataType::OperandType >::generateDisassembly(), HsailISA::Stub::generateDisassembly(), HsailISA::SpecialInstNoSrcBase< DestDataType::OperandType >::generateDisassembly(), HsailISA::SpecialInst1SrcBase< DestDataType::OperandType >::generateDisassembly(), HsailISA::StInst< MemDataType, SrcDataType, AddrOperandType >::generateDisassembly(), HsailISA::Call::generateDisassembly(), HsailISA::AtomicInst< MemDataType, AddrOperandType, NumSrcOperands, HasDst >::generateDisassembly(), getEventQueue(), ComputeUnit::getMasterPort(), CxxConfigManager::getObject(), GpuDispatcher::GpuDispatcher(), X86ISA::GpuTLB::GpuTLB(), MemDepUnit< MemDepPred, Impl >::init(), MachineIDToString(), HsailISA::Call::MagicPrintWF32(), HsailISA::Call::MagicPrintWF32ID(), HsailISA::Call::MagicPrintWF64(), HsailISA::Call::MagicPrintWFFloat(), HsailISA::Call::MagicPrintWFID64(), HsailISA::Call::MagicSimBreak(), Throttle::name(), PerfectSwitch::name(), CopyEngine::CopyEngineChannel::name(), PciHost::DeviceInterface::name(), SimpleThread::name(), Event::name(), DRAMCtrl::Rank::name(), NoncoherentXBar::NoncoherentXBar(), HsailISA::ArithInst< DataType, NumSrcOperands >::opcode_suffix(), HsailISA::CmpInst< DestDataType, SrcDataType >::opcode_suffix(), HsailISA::CvtInst< DestDataType, SrcDataType >::opcode_suffix(), HsailISA::PopcountInst< DestDataType, SrcDataType >::opcode_suffix(), operator<<(), ArmISA::TlbEntry::print(), CacheBlk::print(), BaseSetAssoc::print(), Linux::procMeminfo(), Serializable::ScopedCheckpointSection::pushName(), HDLcd::pxlFrameDone(), Profiler::regStats(), ExecStage::regStats(), Throttle::regStats(), GarnetNetwork::regStats(), ComputeUnit::regStats(), TrafficGen::resolveFile(), RubyDirectedTester::RubyDirectedTester(), RubyPort::RubyPort(), RubyTester::RubyTester(), FlashDevice::serialize(), Process::serialize(), SymbolTable::serialize(), ArmISA::PMU::serialize(), RiscvISA::TLB::serialize(), MipsISA::TLB::serialize(), AlphaISA::TLB::serialize(), EtherLink::Link::serialize(), Iob::serialize(), X86ISA::TLB::serialize(), EtherSwitch::Interface::PortFifo::serialize(), PowerISA::TLB::serialize(), SparcISA::TLB::serialize(), CpuLocalTimer::serialize(), VGic::serialize(), GenericTimer::serialize(), CopyEngine::serialize(), PacketFifo::serialize(), PciDevice::serialize(), FuncPageTable::serialize(), PhysicalMemory::serialize(), Sinic::Device::serialize(), IGbE::DescCache< T >::serialize(), ArmISA::TLB::serialize(), Pl390::serialize(), DistIface::RecvScheduler::serialize(), VirtIODeviceBase::serialize(), CheckpointIn::setDir(), CxxConfigManager::setParam(), CxxConfigManager::setParamVector(), Stats::ScalarProxy< Stat >::str(), Stats::ConstVectorNode< T >::str(), Stats::BinaryNode< Op >::str(), Stats::SumNode< Op >::str(), TLBCoalescer::TLBCoalescer(), AddrRange::to_string(), Trace::ExeTracerRecord::traceInst(), BaseRemoteGDB::trap(), FlashDevice::unserialize(), Process::unserialize(), SymbolTable::unserialize(), ArmISA::PMU::unserialize(), RiscvISA::TLB::unserialize(), MipsISA::TLB::unserialize(), AlphaISA::TLB::unserialize(), EtherLink::Link::unserialize(), Iob::unserialize(), X86ISA::TLB::unserialize(), EtherSwitch::Interface::PortFifo::unserialize(), PowerISA::TLB::unserialize(), SparcISA::TLB::unserialize(), CpuLocalTimer::unserialize(), VGic::unserialize(), GenericTimer::unserialize(), CopyEngine::unserialize(), PacketFifo::unserialize(), PciDevice::unserialize(), FuncPageTable::unserialize(), PhysicalMemory::unserialize(), Sinic::Device::unserialize(), IGbE::DescCache< T >::unserialize(), ArmISA::TLB::unserialize(), Pl390::unserialize(), DistIface::RecvScheduler::unserialize(), and VirtIODeviceBase::unserialize().
std::string csprintf | ( | const std::string & | format, |
const Args &... | args | ||
) |
Definition at line 186 of file cprintf.hh.
References csprintf().