[Gems-users] Breakpoint at set number of memory references


Date: Thu, 18 Oct 2007 00:59:02 -0400
From: "Eirik Bakke" <ebakke@xxxxxxxxxxxxx>
Subject: [Gems-users] Breakpoint at set number of memory references
Hi, there.

Is there a way to have simecs suspend simulation after a set number of
memory references has been made? I am using ruby, so what I want is
essentially a breakpoint that triggers when ruby's "Data requests" stat
exceeds 500 million. (I am currently using the cpu0.cycle-break command to
approximate this behavior, but I don't really know how many cycles there are
per memory reference.)

Any help appreciated -- Eirik Bakke

[← Prev in Thread] Current Thread [Next in Thread→]