Profiling Description

After collecting profile data, parse the raw data file and export the data as visualized timeline and summary files. For details, see Using the msprof Command to Parse, Query, and Export the Profile Data.

Table 1 shows the generated profile data.

Table 1 Introduction to profile data files

Parameter

Profile Data File

ACL_PROF_TASK_TIME

ACL_PROF_TASK_TIME_L0

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

The Ascend Hardware level 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 level in msprof_*.json and the api_statistic_*.csv file

ACL_PROF_RUNTIME_API

The CANN_Runtime level 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

acc_pmu layer in msprof_*.json

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

Stars Chip Trans layer in msprof_*.json

ACL_PROF_DVPP_FREQ

dvpp_*.csv

ACL_PROF_HOST_SYS

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

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

ACL_PROF_HOST_SYS_USAGE

ACL_PROF_HOST_SYS_USAGE_FREQ

Host-side system CPU usage

Host-side process CPU usage

Host-side system memory usage

Host-side process memory usage