Profiling Description

After collecting profile data, parse the raw data, export the parsing result files as visualized profile data files, and save these files to the PROF_XXX/mindstudio_profiler_output directory. For details, see Offline Parsing.

The generated profile data is shown in Table 1.

Table 1 Introduction to profile data files

Parameter

Profile Data File

ACL_PROF_TASK_TIME

ACL_PROF_TASK_TIME_L0

The CANN layer in msprof_*.json and the api_statistic_*.csv file

The Ascend Hardware layer in msprof_*.json and the task_time_*.csv file

The Communication layer in msprof_*.json and the communication_statistic_*.csv file

step_trace (iteration trace data)

op_summary_*.csv

op_statistic_*.csv

fusion_op_*.csv

ACL_PROF_ACL_API

The CANN_AscendCL layer in msprof_*.json and the api_statistic_*.csv file

ACL_PROF_RUNTIME_API

The CANN_Runtime layer in msprof_*.json and the api_statistic_*.csv file

ACL_PROF_HCCL_TRACE

The Communication layer in msprof_*.json and the communication_statistic_*.csv file

api_statistic_*.csv

ACL_PROF_AICPU

aicpu_*.csv

ACL_PROF_AICORE_METRICS

op_summary_*.csv

ACL_PROF_L2CACHE

l2_cache_*.csv

ACL_PROF_TASK_MEMORY

memory_record_*.csv

operator_memory_*.csv

static_op_mem_*.csv

ACL_PROF_MSPROFTX

msproftx data

ACL_PROF_SYS_HARDWARE_MEM_FREQ

On-chip memory read/write rate file

The LLC layer in msprof_*.json and the llc_read_write_*.csv file

The acc_pmu layer in msprof_*.json

The Stars Soc Info layer in msprof_*.json

The NPU MEM layer in msprof_*.json and the npu_mem_*.csv file

npu_module_mem_*.csv

ACL_PROF_SYS_IO_FREQ

The NIC layer in msprof_*.json and the nic_*.csv file

The RoCE layer in msprof_*.json and the roce_*.csv file

ACL_PROF_SYS_INTERCONNECTION_FREQ

The PCIe layer in msprof_*.json and the pcie_*.csv file

The HCCS layer in msprof_*.json and the hccs_*.csv file

The Stars Chip Trans layer in msprof_*.json

ACL_PROF_DVPP_FREQ

dvpp_*.csv

ACL_PROF_HOST_SYS

The CPU Usage layer in msprof_*.json and the host_cpu_usage_*.csv file

The Memory Usage layer in msprof_*.json and the host_mem_usage_*.csv

ACL_PROF_HOST_SYS_USAGE

ACL_PROF_HOST_SYS_USAGE_FREQ

System CPU usage on the host

CPU usage of processes on the host

System memory usage on the host

Memory usage of processes on the host