mem,ext: Fixed DRAMSim2 Integration
Fixed the way callbacks were used due to changes in src/sim/callback.hh. Removed author line in SConsript. Change-Id: I2c2b8dbe13e4f58680806126cd9cf209748e788a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33938 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
# Authors: Andreas Hansson
|
||||
|
||||
import os
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ DRAMSim2::DRAMSim2(const Params* p) :
|
||||
|
||||
// Register a callback to compensate for the destructor not
|
||||
// being called. The callback prints the DRAMSim2 stats.
|
||||
registerExitCallback([&wrapper]() { wrapper->printStats(); });
|
||||
registerExitCallback([this]() { wrapper.printStats(); });
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user