[gem5-users] L1 load misses

2021-04-22 Thread Farhad Yusufali via gem5-users
Hello all, I’m simulating a single core system with Ruby, using the MESI_Two_Level protocol. I need to measure the number of L1 load misses. To do so, I’m summing up these two statistics: system.ruby.L1Cache_Controller.NP.Load system.ruby.L1Cache_Controller.I.Load I would expect the resulting

[gem5-users] Re: A puzzle about how TLB is emulated

2021-04-22 Thread Jason Lowe-Power via gem5-users
Hello, As far as I know, TLB misses are not modeled in SE mode at all. Cheers, Jason On Thu, Apr 22, 2021 at 12:50 PM Θοδωρής Τροχάτος via gem5-users < gem5-users@gem5.org> wrote: > Hi Jason! Thanks for the info! > > Do you know what is happening when there is a TLB miss in SE mode? > Is the

[gem5-users] Re: A puzzle about how TLB is emulated

2021-04-22 Thread Θοδωρής Τροχάτος via gem5-users
Hi Jason! Thanks for the info! Do you know what is happening when there is a TLB miss in SE mode? Is the latency of a TLB miss modeled in some way in SE? ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to

[gem5-users] Re: A puzzle about how TLB is emulated

2021-04-22 Thread Jason Lowe-Power via gem5-users
Hi Leon, I believe you're correct. When there is a TLB hit, it's up to the *CPU model* to model the latency of the TLB access. I think this implementation was designed this way to give flexibility to the CPU models. Since the TLB is deeply embedded in the pipeline, we wouldn't want to always have

[gem5-users] Re: How to measure how many ticks a particular part of process costs?

2021-04-22 Thread Jason Lowe-Power via gem5-users
Hi Leon, This is exactly what gem5's region of interest (ROI) markers are for. You can use these "special instructions" as either magic instructions (using unused opcodes in the ISA) or as memory-mapped IO (useful for KVM CPUs). You can embed these markers in your program by calling the m5ops

[gem5-users] How to measure how many ticks a particular part of process costs?

2021-04-22 Thread Leon Zhao via gem5-users
Hi all, I've been wondering if there's a way to measure how many ticks a particular part of process costs. I usually do this by hedging code blocks around with printf's that contain curTick() and then observing the output. But other than that, perhaps a better way exists? (ticks only, ie not

[gem5-users] 答复: How to debug a program in GEM5 FS mode.

2021-04-22 Thread Liyichao via gem5-users
Thank you very much, Boris. Let me have a try with it. -邮件原件- 发件人: Boris Shingarov [mailto:shinga...@labware.com] 发送时间: 2021年4月22日 15:13 收件人: gem5 users mailing list 抄送: Liyichao 主题: Re: How to debug a program in GEM5 FS mode. Liyichao, > It is pretty if you would like to give

[gem5-users] Re: How to debug a program in GEM5 FS mode.

2021-04-22 Thread Boris Shingarov via gem5-users
Liyichao, > It is pretty if you would like to give some use guidance or an example with > this patch. If your question is, "How do I apply the patch", first you need to fetch it to your local Git clone: git fetch https://gem5.googlesource.com/public/gem5 refs/changes/85/44685/3 and then