base.cc (12109:f29e9c5418aa) | base.cc (12110:c24ee249b8ba) |
---|---|
1/* 2 * Copyright (c) 2010-2012,2015 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 --- 238 unchanged lines hidden (view full) --- 247 .desc("Number of integer alu accesses") 248 ; 249 250 t_info.numFpAluAccesses 251 .name(thread_str + ".num_fp_alu_accesses") 252 .desc("Number of float alu accesses") 253 ; 254 | 1/* 2 * Copyright (c) 2010-2012,2015 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 --- 238 unchanged lines hidden (view full) --- 247 .desc("Number of integer alu accesses") 248 ; 249 250 t_info.numFpAluAccesses 251 .name(thread_str + ".num_fp_alu_accesses") 252 .desc("Number of float alu accesses") 253 ; 254 |
255 t_info.numVecAluAccesses 256 .name(thread_str + ".num_vec_alu_accesses") 257 .desc("Number of vector alu accesses") 258 ; 259 |
|
255 t_info.numCallsReturns 256 .name(thread_str + ".num_func_calls") 257 .desc("number of times a function call or return occured") 258 ; 259 260 t_info.numCondCtrlInsts 261 .name(thread_str + ".num_conditional_control_insts") 262 .desc("number of instructions that are conditional controls") --- 4 unchanged lines hidden (view full) --- 267 .desc("number of integer instructions") 268 ; 269 270 t_info.numFpInsts 271 .name(thread_str + ".num_fp_insts") 272 .desc("number of float instructions") 273 ; 274 | 260 t_info.numCallsReturns 261 .name(thread_str + ".num_func_calls") 262 .desc("number of times a function call or return occured") 263 ; 264 265 t_info.numCondCtrlInsts 266 .name(thread_str + ".num_conditional_control_insts") 267 .desc("number of instructions that are conditional controls") --- 4 unchanged lines hidden (view full) --- 272 .desc("number of integer instructions") 273 ; 274 275 t_info.numFpInsts 276 .name(thread_str + ".num_fp_insts") 277 .desc("number of float instructions") 278 ; 279 |
280 t_info.numVecInsts 281 .name(thread_str + ".num_vec_insts") 282 .desc("number of vector instructions") 283 ; 284 |
|
275 t_info.numIntRegReads 276 .name(thread_str + ".num_int_register_reads") 277 .desc("number of times the integer registers were read") 278 ; 279 280 t_info.numIntRegWrites 281 .name(thread_str + ".num_int_register_writes") 282 .desc("number of times the integer registers were written") --- 325 unchanged lines hidden (view full) --- 608 } 609 610 //float alu accesses 611 if (curStaticInst->isFloating()){ 612 t_info.numFpAluAccesses++; 613 t_info.numFpInsts++; 614 } 615 | 285 t_info.numIntRegReads 286 .name(thread_str + ".num_int_register_reads") 287 .desc("number of times the integer registers were read") 288 ; 289 290 t_info.numIntRegWrites 291 .name(thread_str + ".num_int_register_writes") 292 .desc("number of times the integer registers were written") --- 325 unchanged lines hidden (view full) --- 618 } 619 620 //float alu accesses 621 if (curStaticInst->isFloating()){ 622 t_info.numFpAluAccesses++; 623 t_info.numFpInsts++; 624 } 625 |
626 //vector alu accesses 627 if (curStaticInst->isVector()){ 628 t_info.numVecAluAccesses++; 629 t_info.numVecInsts++; 630 } 631 |
|
616 //number of function calls/returns to get window accesses 617 if (curStaticInst->isCall() || curStaticInst->isReturn()){ 618 t_info.numCallsReturns++; 619 } 620 621 //the number of branch predictions that will be made 622 if (curStaticInst->isCondCtrl()){ 623 t_info.numCondCtrlInsts++; --- 74 unchanged lines hidden --- | 632 //number of function calls/returns to get window accesses 633 if (curStaticInst->isCall() || curStaticInst->isReturn()){ 634 t_info.numCallsReturns++; 635 } 636 637 //the number of branch predictions that will be made 638 if (curStaticInst->isCondCtrl()){ 639 t_info.numCondCtrlInsts++; --- 74 unchanged lines hidden --- |