gem5 v24.0.0.0
|
#include <amdgpu_gfx.hh>
Public Member Functions | |
AMDGPUGfx () | |
void | readMMIO (PacketPtr pkt, Addr offset) |
void | writeMMIO (PacketPtr pkt, Addr offset) |
Private Attributes | |
uint64_t | captured_clock_count = 1 |
std::array< uint32_t, SCRATCH_REGS > | scratchRegs |
Static Private Attributes | |
static constexpr int | SCRATCH_REGS = 8 |
Definition at line 61 of file amdgpu_gfx.hh.
gem5::AMDGPUGfx::AMDGPUGfx | ( | ) |
Definition at line 40 of file amdgpu_gfx.cc.
References gem5::ArmISA::i, SCRATCH_REGS, and scratchRegs.
Definition at line 48 of file amdgpu_gfx.cc.
References AMDGPU_MM_RLC_GPU_CLOCK_COUNT_LSB, AMDGPU_MM_RLC_GPU_CLOCK_COUNT_MSB, AMDGPU_MM_SCRATCH_REG0, captured_clock_count, gem5::ArmISA::offset, scratchRegs, and gem5::Packet::setLE().
Referenced by gem5::AMDGPUDevice::readMMIO().
Definition at line 66 of file amdgpu_gfx.cc.
References AMDGPU_MM_RLC_CAPTURE_GPU_CLOCK_COUNT, AMDGPU_MM_SCRATCH_REG0, captured_clock_count, gem5::curTick(), gem5::Packet::getLE(), gem5::sim_clock::as_int::ns, gem5::ArmISA::offset, and scratchRegs.
Referenced by gem5::AMDGPUDevice::writeMMIO().
|
private |
Definition at line 73 of file amdgpu_gfx.hh.
Referenced by readMMIO(), and writeMMIO().
|
staticconstexprprivate |
Definition at line 78 of file amdgpu_gfx.hh.
Referenced by AMDGPUGfx().
|
private |
Definition at line 79 of file amdgpu_gfx.hh.
Referenced by AMDGPUGfx(), readMMIO(), and writeMMIO().