thread_context.hh (13865:cca49fc49c57) | thread_context.hh (13905:5cf30883255c) |
---|---|
1/* 2 * Copyright (c) 2011-2012, 2016-2018 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 105 unchanged lines hidden (view full) --- 114 /** Returns this thread's ID number. */ 115 int threadId() const override { return thread->threadId(); } 116 void setThreadId(int id) override { return thread->setThreadId(id); } 117 118 /** Returns a pointer to the system. */ 119 System *getSystemPtr() override { return cpu->system; } 120 121 /** Returns a pointer to this thread's kernel statistics. */ | 1/* 2 * Copyright (c) 2011-2012, 2016-2018 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 105 unchanged lines hidden (view full) --- 114 /** Returns this thread's ID number. */ 115 int threadId() const override { return thread->threadId(); } 116 void setThreadId(int id) override { return thread->setThreadId(id); } 117 118 /** Returns a pointer to the system. */ 119 System *getSystemPtr() override { return cpu->system; } 120 121 /** Returns a pointer to this thread's kernel statistics. */ |
122 TheISA::Kernel::Statistics * | 122 ::Kernel::Statistics * |
123 getKernelStats() override 124 { 125 return thread->kernelStats; 126 } 127 128 /** Returns a pointer to this thread's process. */ 129 Process *getProcessPtr() override { return thread->getProcessPtr(); } 130 --- 366 unchanged lines hidden --- | 123 getKernelStats() override 124 { 125 return thread->kernelStats; 126 } 127 128 /** Returns a pointer to this thread's process. */ 129 Process *getProcessPtr() override { return thread->getProcessPtr(); } 130 --- 366 unchanged lines hidden --- |