On 7/6/2023 11:12 AM, John Smith via gem5-users wrote:
Greetings,
If I want to, for example, add a delay of 100 ticks before a line of code executes in the function handleTimingReqMiss() in cache.cc, how do I go about doing that?

Generally speaking, you'll have to schedule an event and then do the
rest of the work in the event handler - something like that.  You can't
just suspend code in the middle.  You'll probably need to break things
into two functions to accomplish this.

EM
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to