root.hh (11168:f98eb2da15a4) | root.hh (11169:44b5c183c3cd) |
---|---|
1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 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; --- 96 unchanged lines hidden (view full) --- 105 Root(Params *p); 106 107 /** Schedule the timesync event at loadState() so that curTick is correct 108 */ 109 void loadState(CheckpointIn &cp) override; 110 111 /** Schedule the timesync event at initState() when not unserializing 112 */ | 1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 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; --- 96 unchanged lines hidden (view full) --- 105 Root(Params *p); 106 107 /** Schedule the timesync event at loadState() so that curTick is correct 108 */ 109 void loadState(CheckpointIn &cp) override; 110 111 /** Schedule the timesync event at initState() when not unserializing 112 */ |
113 void initState(); | 113 void initState() override; |
114 115 void serialize(CheckpointOut &cp) const override; 116 void unserialize(CheckpointIn &cp) override; 117}; 118 119#endif // __SIM_ROOT_HH__ | 114 115 void serialize(CheckpointOut &cp) const override; 116 void unserialize(CheckpointIn &cp) override; 117}; 118 119#endif // __SIM_ROOT_HH__ |