os_runtime_statistic (Host-side syscall and pthreadcall)

The timeline information of host-side syscall and pthreadcall data is displayed at the OS Runtime API level in the msprof_*.json file. The summary information is summarized in the os_runtime_statistic_*.csv file.

Applicability

Product

Supported

Atlas A3 training product / Atlas A3 inference product

Atlas A2 training product / Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Atlas 350 Accelerator Card

Data at OS Runtime API Layer in msprof_*.json

The following figure shows data at the OS Runtime API layer in the msprof_*.json file.

Figure 1 OS runtime API layer
Table 1 Field description

Field

Description

Title

API name of a component. As shown in the figure, pthread_mutex_unlock is selected.

Start

Start point on the timeline, which is automatically aligned with that in chrome trace (ms).

Wall Duration

Time taken by the calls to an API (ms).

os_runtime_statistic_*.csv File

The following shows the file content format.

Figure 2 os_runtime_statistic_*.csv
Table 2 Field description

Field

Description

Device_id

Device ID. host is displayed for data on the host.

Process ID

Process ID.

Thread ID

Thread ID.

Name

API name.

Time(%)

Percentage of time taken by the calls to an API.

Time(us)

Total time taken by the calls to an API, in μs.

Count

Number of calls to an API.

Avg(us), Max(us), Min(us)

Average, maximum, and minimum duration of the calls to an API, in μs.