base.cc (9332:ae2a5329ce96) | base.cc (9384:877293183bdf) |
---|---|
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 --- 216 unchanged lines hidden (view full) --- 225 } 226 } 227 228 if (FullSystem) { 229 if (params()->profile) 230 profileEvent = new ProfileEvent(this, params()->profile); 231 } 232 tracer = params()->tracer; | 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 --- 216 unchanged lines hidden (view full) --- 225 } 226 } 227 228 if (FullSystem) { 229 if (params()->profile) 230 profileEvent = new ProfileEvent(this, params()->profile); 231 } 232 tracer = params()->tracer; |
233 234 if (params()->isa.size() != numThreads) { 235 fatal("Number of ISAs (%i) assigned to the CPU does not equal number " 236 "of threads (%i).\n", params()->isa.size(), numThreads); 237 } |
|
233} 234 235void 236BaseCPU::enableFunctionTrace() 237{ 238 functionTracingEnabled = true; 239} 240 --- 319 unchanged lines hidden --- | 238} 239 240void 241BaseCPU::enableFunctionTrace() 242{ 243 functionTracingEnabled = true; 244} 245 --- 319 unchanged lines hidden --- |