msproftx Data Description

Availability

Atlas 200/500 A2 Inference Product

Atlas Inference Series Product

Atlas Training Series Product

Atlas A2 Training Series Product/Atlas 800I A2 Inference Product

Atlas A3 Training Series Product

General Description

msproftx collects the profile data output by the user and upper-layer framework applications. The data is saved in the mindstudio_profiler_output directory.

For details about the related data, see Table 1.

Table 1 Data file introduction

File Name

Description

msprof_*.json

Timeline summary data. For details, see msproftx Timeline Summary Data.

msprof_tx_*.json

msproftx timeline data. It is a subset of msprof_*.json. For details, see msproftx Timeline Data.

msprof_tx_*.csv

msproftx summary data. The collected host msproftx summary data is combined by thread for associated display. For details, see msprof_tx Summary Data.

msproftx Timeline Summary Data

The timeline summary data of msproftx is displayed at the upper-layer application level of msprof_*.json, as shown in Figure 1. For details about other levels and meanings, see msprof (Timeline Report).

Figure 1 Timeline summary data

msproftx Timeline Data

The timeline data of msproftx is displayed in msprof_tx_*.json, as shown below.

Figure 2 msproftx Timeline Data

As shown in Figure 2, the timeline summary data is displayed in the following areas:

  • Area 1: msproftx marker to record upper-layer application data, including the time consumption information of upper-layer application running.
  • Area 2: bottom-layer NPU data, which is the time consumption records of msproftx markers delivered to the device.
  • Area 3: details about each operator and API in a timeline, which are displayed when you click the timeline.

msprof_tx Summary Data

msprof_tx summary data: msprof_tx_*.csv.

The file content is formatted as follows.

Figure 3 msprof_tx Summary Data
Table 2 Field description

Field

Description

Device_id

Device ID.

pid

Process ID.

tid

Thread ID of an AscendCL API.

category

Type of the msproftx profiling process, which is used to identify the profiling content in the msproftx process. (reserved, not used currently).

event_type

Event type.

payload_type

Data type of the additional information payload carried in the msproftx profiling process (reserved, not used currently).

payload_value

Pointer to the additional information payload carried in the msproftx profiling process (reserved, not used currently).

Start_time(us)

Start time of the msproftx profiling process, in μs.

End_time(us)

End time of the msproftx profiling process, in μs.

message_type

Character string type carried in the msproftx profiling process (reserved, not used currently).

message

Character string description carried in the msproftx profiling process.

domain

Domain to which the marker data belongs

Device Start_time(us)

Time when the msproftx profiling process starts on the device, in μs.

Device End_time(us)

Time when the msproftx profiling process ends on the device, in μs.