system.hh (11005:e7f403b6b76f) | system.hh (11146:0fd6976303bc) |
---|---|
1/* 2 * Copyright (c) 2012, 2014 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 --- 182 unchanged lines hidden (view full) --- 191 unsigned int cacheLineSize() const { return _cacheLineSize; } 192 193#if THE_ISA != NULL_ISA 194 PCEventQueue pcEventQueue; 195#endif 196 197 std::vector<ThreadContext *> threadContexts; 198 int _numContexts; | 1/* 2 * Copyright (c) 2012, 2014 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 --- 182 unchanged lines hidden (view full) --- 191 unsigned int cacheLineSize() const { return _cacheLineSize; } 192 193#if THE_ISA != NULL_ISA 194 PCEventQueue pcEventQueue; 195#endif 196 197 std::vector<ThreadContext *> threadContexts; 198 int _numContexts; |
199 const bool multiThread; |
|
199 200 ThreadContext *getThreadContext(ContextID tid) 201 { 202 return threadContexts[tid]; 203 } 204 205 int numContexts() 206 { --- 364 unchanged lines hidden --- | 200 201 ThreadContext *getThreadContext(ContextID tid) 202 { 203 return threadContexts[tid]; 204 } 205 206 int numContexts() 207 { --- 364 unchanged lines hidden --- |