thread_context.hh (2972:f84c6c5309ce) thread_context.hh (3225:9872d6c27222)
1/*
2 * Copyright (c) 2006 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;

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

128
129#if FULL_SYSTEM
130 void dumpFuncProfile() { actualTC->dumpFuncProfile(); }
131#endif
132
133 void takeOverFrom(ThreadContext *oldContext)
134 {
135 actualTC->takeOverFrom(oldContext);
1/*
2 * Copyright (c) 2006 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;

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

128
129#if FULL_SYSTEM
130 void dumpFuncProfile() { actualTC->dumpFuncProfile(); }
131#endif
132
133 void takeOverFrom(ThreadContext *oldContext)
134 {
135 actualTC->takeOverFrom(oldContext);
136 checkerTC->takeOverFrom(oldContext);
136 checkerTC->copyState(oldContext);
137 }
138
139 void regStats(const std::string &name) { actualTC->regStats(name); }
140
141 void serialize(std::ostream &os) { actualTC->serialize(os); }
142 void unserialize(Checkpoint *cp, const std::string &section)
143 { actualTC->unserialize(cp, section); }
144

--- 163 unchanged lines hidden ---
137 }
138
139 void regStats(const std::string &name) { actualTC->regStats(name); }
140
141 void serialize(std::ostream &os) { actualTC->serialize(os); }
142 void unserialize(Checkpoint *cp, const std::string &section)
143 { actualTC->unserialize(cp, section); }
144

--- 163 unchanged lines hidden ---