Skip to content

Commit

Permalink
TLB Hit Adress printed in traces
Browse files Browse the repository at this point in the history
  • Loading branch information
JunjoFor committed Oct 18, 2024
1 parent a095220 commit 66eeb5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mem/vm/tlb/tlb.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package tlb
import (
"log"
"reflect"
"strconv"

"github.com/sarchlab/akita/v3/mem/vm"
"github.com/sarchlab/akita/v3/mem/vm/tlb/internal"
Expand Down Expand Up @@ -150,7 +151,7 @@ func (tlb *TLB) handleTranslationMiss(
if fetched {
tlb.topPort.Retrieve(now)
tracing.TraceReqReceive(req, tlb)
tracing.AddTaskStep(tracing.MsgIDAtReceiver(req, tlb), tlb, "miss")
tracing.AddTaskStep(tracing.MsgIDAtReceiver(req, tlb), tlb, "miss"+", 0x"+strconv.FormatUint(req.VAddr, 10))
return true
}

Expand Down

0 comments on commit 66eeb5a

Please sign in to comment.