Deleted Added
sdiff udiff text old ( 4123:9c80390ea1bb ) new ( 4553:fac59b75a87d )
full compact
1# Copyright (c) 2004-2006 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 708 unchanged lines hidden (view full) ---

717 return count
718
719 def resume(self):
720 if isinstance(self, SimObject):
721 self._ccObject.resume()
722 for child in self._children.itervalues():
723 child.resume()
724
725 def changeTiming(self, mode):
726 if isinstance(self, m5.objects.System):
727 # i don't know if there's a better way to do this - calling
728 # setMemoryMode directly from self._ccObject results in calling
729 # SimObject::setMemoryMode, not the System::setMemoryMode
730 system_ptr = internal.sim_object.convertToSystemPtr(self._ccObject)
731 system_ptr.setMemoryMode(mode)
732 for child in self._children.itervalues():

--- 63 unchanged lines hidden ---