1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 258 unchanged lines hidden (view full) --- 267 268/** 269 * Do final initialization steps after object construction but before 270 * start of simulation. 271 */ 272void 273finalInit() 274{ |
275 // Do a second pass to finish initializing the sim objects 276 SimObject::initAll(); 277 278 // Restore checkpointed state, if any. 279#if 0 280 configHierarchy.unserializeSimObjects(); 281#endif 282 --- 167 unchanged lines hidden (view full) --- 450void 451doExitCleanup() 452{ 453 exitCallbacks().process(); 454 exitCallbacks().clear(); 455 456 cout.flush(); 457 |
458 // print simulation stats 459 Stats::dump(); 460} |