From b4c10bd6800b5ab5adee3035f1908d7a49a14ca9 Mon Sep 17 00:00:00 2001 From: Joel Hestness Date: Sun, 6 Feb 2011 22:14:17 -0800 Subject: mcpat: Adds McPAT performance counters Updated patches from Rick Strong's set that modify performance counters for McPAT --- src/sim/system.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sim/system.hh') diff --git a/src/sim/system.hh b/src/sim/system.hh index cdf7d3d7e..6c4f3e9ed 100644 --- a/src/sim/system.hh +++ b/src/sim/system.hh @@ -1,5 +1,6 @@ /* * Copyright (c) 2002-2005 The Regents of The University of Michigan + * Copyright (c) 2011 Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -28,6 +29,7 @@ * Authors: Steve Reinhardt * Lisa Hsu * Nathan Binkert + * Rick Strong */ #ifndef __SYSTEM_HH__ @@ -244,8 +246,12 @@ class System : public SimObject void serialize(std::ostream &os); void unserialize(Checkpoint *cp, const std::string §ion); + virtual void resume(); public: + Counter totalNumInsts; + EventQueue instEventQueue; + //////////////////////////////////////////// // // STATIC GLOBAL SYSTEM LIST -- cgit v1.2.3