diff --git a/src/gpu-compute/compute_unit.cc b/src/gpu-compute/compute_unit.cc index 62cfbf94cf..06fe28f5b8 100644 --- a/src/gpu-compute/compute_unit.cc +++ b/src/gpu-compute/compute_unit.cc @@ -1078,7 +1078,9 @@ ComputeUnit::sendRequest(GPUDynInstPtr gpuDynInst, PortID index, PacketPtr pkt) fatal("pkt is not a read nor a write\n"); } - stats.tlbCycles -= curTick(); + if (!functionalTLB) { + stats.tlbCycles -= curTick(); + } ++stats.tlbRequests; PortID tlbPort_index = perLaneTLB ? index : 0;