thread_context_impl.hh (2986:99640058db70) | thread_context_impl.hh (3126:756092c6383c) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 40 unchanged lines hidden (view full) --- 49 vp->setPeer(mem_port); 50 return vp; 51} 52 53template <class Impl> 54void 55O3ThreadContext<Impl>::dumpFuncProfile() 56{ | 1/* 2 * Copyright (c) 2004-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; --- 40 unchanged lines hidden (view full) --- 49 vp->setPeer(mem_port); 50 return vp; 51} 52 53template <class Impl> 54void 55O3ThreadContext<Impl>::dumpFuncProfile() 56{ |
57 // Currently not supported | 57 thread->dumpFuncProfile(); |
58} 59#endif 60 61template <class Impl> 62void 63O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context) 64{ 65 // some things should already be set up --- 168 unchanged lines hidden (view full) --- 234O3ThreadContext<Impl>::readLastSuspend() 235{ 236 return thread->lastSuspend; 237} 238 239template <class Impl> 240void 241O3ThreadContext<Impl>::profileClear() | 58} 59#endif 60 61template <class Impl> 62void 63O3ThreadContext<Impl>::takeOverFrom(ThreadContext *old_context) 64{ 65 // some things should already be set up --- 168 unchanged lines hidden (view full) --- 234O3ThreadContext<Impl>::readLastSuspend() 235{ 236 return thread->lastSuspend; 237} 238 239template <class Impl> 240void 241O3ThreadContext<Impl>::profileClear() |
242{} | 242{ 243 thread->profileClear(); 244} |
243 244template <class Impl> 245void 246O3ThreadContext<Impl>::profileSample() | 245 246template <class Impl> 247void 248O3ThreadContext<Impl>::profileSample() |
247{} | 249{ 250 thread->profileSample(); 251} |
248#endif 249 250template <class Impl> 251TheISA::MachInst 252O3ThreadContext<Impl>:: getInst() 253{ 254 return thread->getInst(); 255} --- 236 unchanged lines hidden --- | 252#endif 253 254template <class Impl> 255TheISA::MachInst 256O3ThreadContext<Impl>:: getInst() 257{ 258 return thread->getInst(); 259} --- 236 unchanged lines hidden --- |