commit_impl.hh (7855:c0be563517da) | commit_impl.hh (7897:d9e8b1fd1a9f) |
---|---|
1/* 2 * Copyright (c) 2010 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 statComBranches 227 .init(cpu->numThreads) 228 .name(name() + ".COM:branches") 229 .desc("Number of branches committed") 230 .flags(total) 231 ; 232 | 1/* 2 * Copyright (c) 2010 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 statComBranches 227 .init(cpu->numThreads) 228 .name(name() + ".COM:branches") 229 .desc("Number of branches committed") 230 .flags(total) 231 ; 232 |
233 statComFloating 234 .init(cpu->numThreads) 235 .name(name() + ".COM:fp_insts") 236 .desc("Number of committed floating point instructions.") 237 .flags(total) 238 ; 239 240 statComInteger 241 .init(cpu->numThreads) 242 .name(name()+".COM:int_insts") 243 .desc("Number of committed integer instructions.") 244 .flags(total) 245 ; 246 247 statComFunctionCalls 248 .init(cpu->numThreads) 249 .name(name()+".COM:function_calls") 250 .desc("Number of function calls committed.") 251 .flags(total) 252 ; 253 |
|
233 commitEligible 234 .init(cpu->numThreads) 235 .name(name() + ".COM:bw_limited") 236 .desc("number of insts not committed due to BW limits") 237 .flags(total) 238 ; 239 240 commitEligibleSamples --- 1075 unchanged lines hidden (view full) --- 1316 if (inst->isLoad()) { 1317 statComLoads[tid]++; 1318 } 1319 } 1320 1321 if (inst->isMemBarrier()) { 1322 statComMembars[tid]++; 1323 } | 254 commitEligible 255 .init(cpu->numThreads) 256 .name(name() + ".COM:bw_limited") 257 .desc("number of insts not committed due to BW limits") 258 .flags(total) 259 ; 260 261 commitEligibleSamples --- 1075 unchanged lines hidden (view full) --- 1337 if (inst->isLoad()) { 1338 statComLoads[tid]++; 1339 } 1340 } 1341 1342 if (inst->isMemBarrier()) { 1343 statComMembars[tid]++; 1344 } |
1345 1346 // Integer Instruction 1347 if (inst->isInteger()) 1348 statComInteger[tid]++; 1349 1350 // Floating Point Instruction 1351 if (inst->isFloating()) 1352 statComFloating[tid]++; 1353 1354 // Function Calls 1355 if (inst->isCall()) 1356 statComFunctionCalls[tid]++; 1357 |
|
1324} 1325 1326//////////////////////////////////////// 1327// // 1328// SMT COMMIT POLICY MAINTAINED HERE // 1329// // 1330//////////////////////////////////////// 1331template <class Impl> --- 101 unchanged lines hidden --- | 1358} 1359 1360//////////////////////////////////////// 1361// // 1362// SMT COMMIT POLICY MAINTAINED HERE // 1363// // 1364//////////////////////////////////////// 1365template <class Impl> --- 101 unchanged lines hidden --- |