Profiling Description

After profile data is collected, parse the raw data file and export it as a visualized profile data file by referring to Using the msprof Command to Parse, Query, and Export Profile Data. The file is saved in the PROF_XXX/mindstudio_profiler_output directory.

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

CANN level in msprof_*.json and the api_statistic_*.csv file

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

Communication level 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

CANN_AscendCL level in msprof_*.json and the api_statistic_*.csv file

ACL_PROF_RUNTIME_API

CANN_Runtime level in msprof_*.json and the api_statistic_*.csv file

ACL_PROF_HCCL_TRACE

Communication level 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 speed files

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

acc_pmu layer in msprof_*.json

Stars Soc Info layer in msprof_*.json

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

npu_module_mem_*.csv

ACL_PROF_SYS_IO_FREQ

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

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

ACL_PROF_SYS_INTERCONNECTION_FREQ

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

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

Stars Chip Trans layer in msprof_*.json

ACL_PROF_DVPP_FREQ

dvpp_*.csv

ACL_PROF_HOST_SYS

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

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

ACL_PROF_HOST_SYS_USAGE

ACL_PROF_HOST_SYS_USAGE_FREQ

System CPU usage on the host

Process CPU usage on the host

System memory usage on the host

Process memory usage on the host