1/* 2 * Copyright (c) 2011-2012 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 1080 unchanged lines hidden (view full) --- 1089 1090 // Decrease funcExeInst by one as the normal commit will handle 1091 // incrementing it. 1092 --(this->thread[tid]->funcExeInst); 1093} 1094 1095template <class Impl> 1096void |
1097FullO3CPU<Impl>::serializeThread(std::ostream &os, ThreadID tid) |
1098{ |
1099 thread[tid]->serialize(os); |
1100} 1101 1102template <class Impl> 1103void |
1104FullO3CPU<Impl>::unserializeThread(Checkpoint *cp, const std::string §ion, 1105 ThreadID tid) |
1106{ |
1107 thread[tid]->unserialize(cp, section); |
1108} 1109 1110template <class Impl> 1111unsigned int 1112FullO3CPU<Impl>::drain(DrainManager *drain_manager) 1113{ 1114 // If the CPU isn't doing anything, then return immediately. 1115 if (switchedOut()) { --- 671 unchanged lines hidden --- |