aclprofAicoreMetrics
typedef enum { ACL_AICORE_ARITHMETIC_UTILIZATION = 0, //各种计算类指标占比统计,包括采集项mac_fp16_ratio、mac_int8_ratio、vec_fp32_ratio、vec_fp16_ratio、vec_int32_ratio、vec_misc_ratio ACL_AICORE_PIPE_UTILIZATION = 1, //计算单元和搬运单元耗时占比,包括采集项vec_ratio、mac_ratio、scalar_ratio、mte1_ratio、mte2_ratio、mte3_ratio、icache_miss_rate ACL_AICORE_MEMORY_BANDWIDTH = 2, //外部内存读写类指令占比,包括采集项ub_read_bw、ub_write_bw、l1_read_bw、l1_write_bw、l2_read_bw、l2_write_bw、main_mem_read_bw、main_mem_write_bw ACL_AICORE_L0B_AND_WIDTH = 3, //内部内存读写类指令占比,包括采集项scalar_ld_ratio、scalar_st_ratio、l0a_read_bw、l0a_write_bw、l0b_read_bw、l0b_write_bw、l0c_read_bw、l0c_write_bw ACL_AICORE_RESOURCE_CONFLICT_RATIO = 4, //流水线队列类指令占比,包括采集项vec_bankgroup_cflt_ratio、vec_bank_cflt_ratio、vec_resc_cflt_ratio、mte1_iq_full_ratio、mte2_iq_full_ratio、mte3_iq_full_ratio、cube_iq_full_ratio、vec_iq_full_ratio、iq_full_ratio ACL_AICORE_MEMORY_UB = 5, //内部内存读写指令占比,包括采集项ub_read_bw_mte、ub_write_bw_mte、main_mem_write_bw、l2_write_bw、ub_read_bw_vector、ub_write_bw_vector、ub_read_bw_scalar、ub_write_bw_scalar ACL_AICORE_NONE = 0xFF }aclprofAicoreMetrics;
父主题: 其他相关接口