|
gem5
v21.1.0.2
|
#include <cpu.hh>
Public Member Functions | |
| CPUStats (CPU *cpu) | |
Public Member Functions inherited from gem5::statistics::Group | |
| Group (Group *parent, const char *name=nullptr) | |
| Construct a new statistics group. More... | |
| virtual | ~Group () |
| virtual void | regStats () |
| Callback to set stat parameters. More... | |
| virtual void | resetStats () |
| Callback to reset stats. More... | |
| virtual void | preDumpStats () |
| Callback before stats are dumped. More... | |
| void | addStat (statistics::Info *info) |
| Register a stat with this group. More... | |
| const std::map< std::string, Group * > & | getStatGroups () const |
| Get all child groups associated with this object. More... | |
| const std::vector< Info * > & | getStats () const |
| Get all stats associated with this object. More... | |
| void | addStatGroup (const char *name, Group *block) |
| Add a stat block as a child of this block. More... | |
| const Info * | resolveStat (std::string name) const |
| Resolve a stat by its name within this group. More... | |
| void | mergeStatGroup (Group *block) |
| Merge the contents (stats & children) of a block to this block. More... | |
| Group ()=delete | |
| Group (const Group &)=delete | |
| Group & | operator= (const Group &)=delete |
| gem5::o3::CPU::CPUStats::CPUStats | ( | CPU * | cpu | ) |
Definition at line 374 of file cpu.cc.
References gem5::BaseCPU::baseStats, ccRegfileReads, ccRegfileWrites, committedInsts, committedOps, cpi, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), fpRegfileReads, fpRegfileWrites, idleCycles, gem5::statistics::VectorBase< Derived, Stor >::init(), intRegfileReads, intRegfileWrites, ipc, miscRegfileReads, miscRegfileWrites, gem5::BaseCPU::BaseCPUStats::numCycles, gem5::BaseCPU::numThreads, gem5::statistics::DataWrap< Derived, InfoProxyType >::precision(), gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), quiesceCycles, gem5::RiscvISA::sum, timesIdled, gem5::statistics::total, totalCpi, totalIpc, vecPredRegfileReads, vecPredRegfileWrites, vecRegfileReads, and vecRegfileWrites.
| statistics::Scalar gem5::o3::CPU::CPUStats::ccRegfileReads |
Definition at line 701 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::readArchCCReg(), and gem5::o3::CPU::readCCReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::ccRegfileWrites |
Definition at line 702 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::setArchCCReg(), and gem5::o3::CPU::setCCReg().
| statistics::Vector gem5::o3::CPU::CPUStats::committedInsts |
Stat for the number of committed instructions per thread.
Definition at line 675 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::instDone().
| statistics::Vector gem5::o3::CPU::CPUStats::committedOps |
Stat for the number of committed ops (including micro ops) per thread.
Definition at line 678 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::instDone().
| statistics::Formula gem5::o3::CPU::CPUStats::cpi |
| statistics::Scalar gem5::o3::CPU::CPUStats::fpRegfileReads |
Definition at line 692 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::readArchFloatReg(), and gem5::o3::CPU::readFloatReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::fpRegfileWrites |
Definition at line 693 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::setArchFloatReg(), and gem5::o3::CPU::setFloatReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::idleCycles |
Stat for total number of cycles the CPU spends descheduled.
Definition at line 670 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::wakeCPU().
| statistics::Scalar gem5::o3::CPU::CPUStats::intRegfileReads |
Definition at line 689 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::readArchIntReg(), and gem5::o3::CPU::readIntReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::intRegfileWrites |
Definition at line 690 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::setArchIntReg(), and gem5::o3::CPU::setIntReg().
| statistics::Formula gem5::o3::CPU::CPUStats::ipc |
| statistics::Scalar gem5::o3::CPU::CPUStats::miscRegfileReads |
Definition at line 704 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::readMiscReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::miscRegfileWrites |
Definition at line 705 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::setMiscReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::quiesceCycles |
Stat for total number of cycles the CPU spends descheduled due to a quiesce operation or waiting for an interrupt.
Definition at line 673 of file cpu.hh.
Referenced by gem5::o3::CPU::activateContext(), and CPUStats().
| statistics::Scalar gem5::o3::CPU::CPUStats::timesIdled |
Stat for total number of times the CPU is descheduled.
Definition at line 668 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::tick().
| statistics::Formula gem5::o3::CPU::CPUStats::totalCpi |
| statistics::Formula gem5::o3::CPU::CPUStats::totalIpc |
|
mutable |
Definition at line 698 of file cpu.hh.
Referenced by CPUStats(), and gem5::o3::CPU::readVecPredReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::vecPredRegfileWrites |
Definition at line 699 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::getWritableVecPredReg(), and gem5::o3::CPU::setVecPredReg().
|
mutable |
Definition at line 695 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::readVecElem(), and gem5::o3::CPU::readVecReg().
| statistics::Scalar gem5::o3::CPU::CPUStats::vecRegfileWrites |
Definition at line 696 of file cpu.hh.
Referenced by CPUStats(), gem5::o3::CPU::getWritableVecReg(), gem5::o3::CPU::setVecElem(), and gem5::o3::CPU::setVecReg().