Lines Matching refs:core_stats

59       core_params(_core_params), core_stats(_core_stats), exist(exist_) {
176 core_params, core_stats);
289 core_params(_core_params), core_stats(_core_stats), exist(exist_) {
498 // core_stats variable, so we don't need to read them in here
510 core_params(_core_params), core_stats(_core_stats), exist(exist_) {
583 core_stats.inst_window_wakeup_accesses,
594 core_stats.fp_inst_window_wakeup_accesses,
778 core_stats.inst_window_wakeup_accesses,
787 core_stats.fp_inst_window_wakeup_accesses,
800 core_params(_core_params), core_stats(_core_stats), exist(exist_) {
913 core_params(_core_params), core_stats(_core_stats), exist(exist_) {
1093 core_params(_core_params), core_stats(_core_stats), exist(exist_) {
1230 core_stats(_core_stats), exist(exist_) {
1235 rfu = new RegFU(xml_data, &interface_ip, core_params, core_stats);
1239 core_stats);
1243 core_stats, ALU);
1249 core_params, core_stats, FPU);
1254 core_params, core_stats, MUL);
1544 core_params(_core_params), core_stats(_core_stats), exist(exist_) {
2106 core_stats);
2109 core_stats);
2112 core_stats);
2115 core_params, core_stats);
2121 core_stats);
2182 core_params.predictionW * core_stats.BR_duty_cycle;
2187 globalBPT->rtp_stats.readAc.access = core_stats.total_instructions;
2188 globalBPT->rtp_stats.writeAc.access = core_stats.branch_instructions;
2208 L1_localBPT->rtp_stats.readAc.access = core_stats.total_instructions;
2209 L1_localBPT->rtp_stats.writeAc.access = core_stats.branch_instructions;
2229 L2_localBPT->rtp_stats.readAc.access = core_stats.branch_instructions;
2230 L2_localBPT->rtp_stats.writeAc.access = core_stats.branch_instructions;
2250 chooser->rtp_stats.readAc.access = core_stats.total_instructions;
2251 chooser->rtp_stats.writeAc.access = core_stats.branch_instructions;
2271 RAS->rtp_stats.readAc.access = core_stats.function_calls;
2272 RAS->rtp_stats.writeAc.access = core_stats.function_calls;
2350 IB->rtp_stats.readAc.access = core_stats.total_instructions;
2351 IB->rtp_stats.writeAc.access = core_stats.total_instructions;
2389 ID_inst->rtp_stats.readAc.access = core_stats.total_instructions;
2401 ID_operand->rtp_stats.readAc.access = core_stats.total_instructions;
2413 ID_misc->rtp_stats.readAc.access = core_stats.total_instructions;
2491 core_params.decodeW * core_stats.rename_reads;
2494 idcl->rtp_stats.readAc.access = 2 * core_stats.int_instructions;
2512 core_params.fp_issueW * core_stats.fp_rename_writes;
2515 fdcl->rtp_stats.readAc.access = core_stats.fp_instructions;
2531 iRRAT->rtp_stats.readAc.access = core_stats.rename_writes;
2532 iRRAT->rtp_stats.writeAc.access = core_stats.rename_writes;
2553 ifreeL->rtp_stats.readAc.access = core_stats.rename_reads;
2554 ifreeL->rtp_stats.writeAc.access = 2 * core_stats.rename_writes;
2557 core_stats.rename_reads + core_stats.fp_rename_reads;
2559 2 * (core_stats.rename_writes + core_stats.fp_rename_writes);
2580 fRRAT->rtp_stats.readAc.access = core_stats.fp_rename_writes;
2581 fRRAT->rtp_stats.writeAc.access = core_stats.fp_rename_writes;
2601 ffreeL->rtp_stats.readAc.access = core_stats.fp_rename_reads;
2602 ffreeL->rtp_stats.writeAc.access = 2 * core_stats.fp_rename_writes;
2628 iFRAT->rtp_stats.readAc.access = core_stats.rename_reads;
2629 iFRAT->rtp_stats.writeAc.access = core_stats.rename_writes;
2633 core_stats.committed_int_instructions;
2669 fFRAT->rtp_stats.readAc.access = core_stats.fp_rename_reads;
2670 fFRAT->rtp_stats.writeAc.access = core_stats.fp_rename_writes;
2674 core_stats.committed_fp_instructions;
2848 core_stats.inst_window_reads;
2850 core_stats.inst_window_writes;
2852 core_stats.inst_window_wakeup_accesses;
2878 core_stats.int_instructions + core_stats.fp_instructions;
2880 core_stats.int_instructions + core_stats.fp_instructions;
2882 2 * (core_stats.int_instructions + core_stats.fp_instructions);
2906 core_stats.fp_inst_window_reads;
2908 core_stats.fp_inst_window_writes;
2910 core_stats.fp_inst_window_wakeup_accesses;
2938 ROB->rtp_stats.readAc.access = core_stats.ROB_reads;
2939 ROB->rtp_stats.writeAc.access = core_stats.ROB_writes;
3029 core_stats.LSU_duty_cycle;
3031 core_stats.LSU_duty_cycle;
3034 LSQ->rtp_stats.readAc.access = (core_stats.load_instructions +
3035 core_stats.store_instructions) * 2;
3036 LSQ->rtp_stats.writeAc.access = (core_stats.load_instructions +
3037 core_stats.store_instructions) * 2;
3054 core_stats.LSU_duty_cycle;
3056 core_stats.LSU_duty_cycle;
3058 LoadQ->rtp_stats.readAc.access = core_stats.load_instructions +
3059 core_stats.store_instructions;
3060 LoadQ->rtp_stats.writeAc.access = core_stats.load_instructions +
3061 core_stats.store_instructions;
3139 core_stats.LSU_duty_cycle;
3199 (core_stats.ALU_duty_cycle * 1.1 +
3200 (core_params.num_muls > 0 ? core_stats.MUL_duty_cycle : 0)) *
3204 (core_stats.ALU_duty_cycle * 1.1 +
3205 (core_params.num_muls > 0 ? core_stats.MUL_duty_cycle : 0)) *
3208 IRF->rtp_stats.readAc.access = core_stats.int_regfile_reads;
3209 IRF->rtp_stats.writeAc.access = core_stats.int_regfile_writes;
3211 IRF->rtp_stats.readAc.access += core_stats.function_calls *
3213 IRF->rtp_stats.writeAc.access += core_stats.function_calls *
3228 FRF->l_ip.num_rd_ports * core_stats.FPU_duty_cycle * 1.05 *
3231 FRF->l_ip.num_wr_ports * core_stats.FPU_duty_cycle * 1.05 *
3234 FRF->rtp_stats.readAc.access = core_stats.float_regfile_reads;
3235 FRF->rtp_stats.writeAc.access = core_stats.float_regfile_writes;
3237 FRF->rtp_stats.readAc.access += core_stats.function_calls *
3239 FRF->rtp_stats.writeAc.access += core_stats.function_calls *
3257 core_stats.function_calls * RFWIN_ACCESS_MULTIPLIER;
3259 core_stats.function_calls * RFWIN_ACCESS_MULTIPLIER;
3318 core_stats.ALU_cdb_duty_cycle,
3319 core_stats.cdb_alu_accesses);
3322 core_stats.ALU_cdb_duty_cycle,
3323 core_stats.cdb_alu_accesses);
3327 core_stats.MUL_cdb_duty_cycle,
3328 core_stats.cdb_mul_accesses);
3331 core_stats.MUL_cdb_duty_cycle,
3332 core_stats.cdb_mul_accesses);
3337 core_stats.FPU_cdb_duty_cycle,
3338 core_stats.cdb_fpu_accesses);
3341 core_stats.FPU_cdb_duty_cycle,
3342 core_stats.cdb_fpu_accesses);
3687 memset(&core_stats, 0, sizeof(CoreStatistics));
3688 core_stats.IFU_duty_cycle = 1.0;
3689 core_stats.ALU_duty_cycle = 1.0;
3690 core_stats.FPU_duty_cycle = 1.0;
3691 core_stats.MUL_duty_cycle = 1.0;
3692 core_stats.ALU_cdb_duty_cycle = 1.0;
3693 core_stats.FPU_cdb_duty_cycle = 1.0;
3694 core_stats.MUL_cdb_duty_cycle = 1.0;
3695 core_stats.pipeline_duty_cycle = 1.0;
3696 core_stats.IFU_duty_cycle = 1.0;
3697 core_stats.LSU_duty_cycle = 1.0;
3698 core_stats.MemManU_D_duty_cycle = 1.0;
3699 core_stats.MemManU_I_duty_cycle = 1.0;
3857 ASSIGN_FP_IF("ALU_duty_cycle", core_stats.ALU_duty_cycle);
3858 ASSIGN_FP_IF("FPU_duty_cycle", core_stats.FPU_duty_cycle);
3859 ASSIGN_FP_IF("MUL_duty_cycle", core_stats.MUL_duty_cycle);
3860 ASSIGN_FP_IF("ALU_cdb_duty_cycle", core_stats.ALU_cdb_duty_cycle);
3861 ASSIGN_FP_IF("FPU_cdb_duty_cycle", core_stats.FPU_cdb_duty_cycle);
3862 ASSIGN_FP_IF("MUL_cdb_duty_cycle", core_stats.MUL_cdb_duty_cycle);
3863 ASSIGN_FP_IF("pipeline_duty_cycle", core_stats.pipeline_duty_cycle);
3864 ASSIGN_FP_IF("total_cycles", core_stats.total_cycles);
3865 ASSIGN_FP_IF("busy_cycles", core_stats.busy_cycles);
3866 ASSIGN_FP_IF("idle_cycles", core_stats.idle_cycles);
3867 ASSIGN_FP_IF("IFU_duty_cycle", core_stats.IFU_duty_cycle);
3868 ASSIGN_FP_IF("BR_duty_cycle", core_stats.BR_duty_cycle);
3869 ASSIGN_FP_IF("LSU_duty_cycle", core_stats.LSU_duty_cycle);
3870 ASSIGN_FP_IF("MemManU_D_duty_cycle", core_stats.MemManU_D_duty_cycle);
3871 ASSIGN_FP_IF("MemManU_I_duty_cycle", core_stats.MemManU_I_duty_cycle);
3872 ASSIGN_FP_IF("cdb_fpu_accesses", core_stats.cdb_fpu_accesses);
3873 ASSIGN_FP_IF("cdb_alu_accesses", core_stats.cdb_alu_accesses);
3874 ASSIGN_FP_IF("cdb_mul_accesses", core_stats.cdb_mul_accesses);
3875 ASSIGN_FP_IF("function_calls", core_stats.function_calls);
3876 ASSIGN_FP_IF("total_instructions", core_stats.total_instructions);
3877 ASSIGN_FP_IF("int_instructions", core_stats.int_instructions);
3878 ASSIGN_FP_IF("fp_instructions", core_stats.fp_instructions);
3879 ASSIGN_FP_IF("branch_instructions", core_stats.branch_instructions);
3881 core_stats.branch_mispredictions);
3882 ASSIGN_FP_IF("load_instructions", core_stats.load_instructions);
3883 ASSIGN_FP_IF("store_instructions", core_stats.store_instructions);
3885 core_stats.committed_instructions);
3887 core_stats.committed_int_instructions);
3889 core_stats.committed_fp_instructions);
3890 ASSIGN_FP_IF("ROB_reads", core_stats.ROB_reads);
3891 ASSIGN_FP_IF("ROB_writes", core_stats.ROB_writes);
3892 ASSIGN_FP_IF("rename_reads", core_stats.rename_reads);
3893 ASSIGN_FP_IF("rename_writes", core_stats.rename_writes);
3894 ASSIGN_FP_IF("fp_rename_reads", core_stats.fp_rename_reads);
3895 ASSIGN_FP_IF("fp_rename_writes", core_stats.fp_rename_writes);
3896 ASSIGN_FP_IF("inst_window_reads", core_stats.inst_window_reads);
3897 ASSIGN_FP_IF("inst_window_writes", core_stats.inst_window_writes);
3899 core_stats.inst_window_wakeup_accesses);
3900 ASSIGN_FP_IF("fp_inst_window_reads", core_stats.fp_inst_window_reads);
3902 core_stats.fp_inst_window_writes);
3904 core_stats.fp_inst_window_wakeup_accesses);
3905 ASSIGN_FP_IF("int_regfile_reads", core_stats.int_regfile_reads);
3906 ASSIGN_FP_IF("float_regfile_reads", core_stats.float_regfile_reads);
3907 ASSIGN_FP_IF("int_regfile_writes", core_stats.int_regfile_writes);
3908 ASSIGN_FP_IF("float_regfile_writes", core_stats.float_regfile_writes);
3909 ASSIGN_FP_IF("context_switches", core_stats.context_switches);
3910 ASSIGN_FP_IF("ialu_accesses", core_stats.ialu_accesses);
3911 ASSIGN_FP_IF("fpu_accesses", core_stats.fpu_accesses);
3912 ASSIGN_FP_IF("mul_accesses", core_stats.mul_accesses);