Data Collection Description

After configuring parameter for the AscendCL API method, 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 Profile Data Parsing and Export (msprof Command).

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

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

The HCCL level in msprof_*.json and the hccl_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 HCCL level in msprof_*.json and the hccl_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 of Ai CPU level in msprof_*.json and the llc_aicpu_*.csv file

The LLC of Ctrl CPU level in msprof_*.json and the llc_ctrlcpu_*.csv file

The LLC Bandwidth level in msprof_*.json and the llc_bandwidth_*.csv file

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

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

npu_module_mem_*.csv

ACL_PROF_LLC_MODE

The LLC of Ai CPU level in msprof_*.json and the llc_aicpu_*.csv file

The LLC of Ctrl CPU level in msprof_*.json and the llc_ctrlcpu_*.csv file

The LLC Bandwidth level in msprof_*.json and the llc_bandwidth_*.csv file

ACL_PROF_SYS_IO_FREQ

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

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

ACL_PROF_SYS_INTERCONNECTION_FREQ

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

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

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

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