sim_object.hh (8737:770ccf3af571) sim_object.hh (9195:77fd8912c9d4)
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

121 * initState() is called on each SimObject when *not* restoring
122 * from a checkpoint. This provides a hook for state
123 * initializations that are only required for a "cold start".
124 */
125 virtual void initState();
126
127 // register statistics for this object
128 virtual void regStats();
1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * Copyright (c) 2010 Advanced Micro Devices, Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

121 * initState() is called on each SimObject when *not* restoring
122 * from a checkpoint. This provides a hook for state
123 * initializations that are only required for a "cold start".
124 */
125 virtual void initState();
126
127 // register statistics for this object
128 virtual void regStats();
129 virtual void regFormulas();
130 virtual void resetStats();
131
132 /**
133 * startup() is the final initialization call before simulation.
134 * All state is initialized (including unserialized state, if any,
135 * such as the curTick() value), so this is the appropriate place to
136 * schedule initial event(s) for objects that need them.
137 */

--- 31 unchanged lines hidden ---
129 virtual void resetStats();
130
131 /**
132 * startup() is the final initialization call before simulation.
133 * All state is initialized (including unserialized state, if any,
134 * such as the curTick() value), so this is the appropriate place to
135 * schedule initial event(s) for objects that need them.
136 */

--- 31 unchanged lines hidden ---