main.cc (2769:04c9a7db403f) main.cc (2770:07a93a0da45b)
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;

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

422
423 // Restore checkpointed state, if any.
424#if 0
425 configHierarchy.unserializeSimObjects();
426#endif
427
428 SimObject::regAllStats();
429
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;

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

422
423 // Restore checkpointed state, if any.
424#if 0
425 configHierarchy.unserializeSimObjects();
426#endif
427
428 SimObject::regAllStats();
429
430 // uncomment the following to get PC-based execution-time profile
431#ifdef DO_PROFILE
432 init_profile((char *)&_init, (char *)&_fini);
433#endif
434
435 // Check to make sure that the stats package is properly initialized
436 Stats::check();
437
438 // Reset to put the stats in a consistent state.
439 Stats::reset();
440
441 SimStartup();
442}

--- 117 unchanged lines hidden ---
430 // Check to make sure that the stats package is properly initialized
431 Stats::check();
432
433 // Reset to put the stats in a consistent state.
434 Stats::reset();
435
436 SimStartup();
437}

--- 117 unchanged lines hidden ---