Statistics View
To view the API Statistic, AscendCL API, OS Runtime API, Runtime API, OPs, and Op Info invocation data, click Statistics in the data pane at the bottom and select a data type from the drop-down list in the upper left corner.
If the current version is used to collect profile data, no AscendCL API, OS Runtime API, and Runtime API data is displayed. Instead, the related data is summarized and displayed in API Statistic.
API Statistic
|
Field |
Description |
|---|---|
|
Level |
Level of an API, including AscendCL, Runtime, Node, Model, and HCCL. |
|
API Name |
API name |
|
Time(us) |
Time (μs) taken by the API You can rearrange the information in ascending or descending order by clicking the triangle icon next to the field name. |
|
Count |
Number of API calls |
|
Avg(us) |
Average duration (μs) of a single API call |
|
Min(us) |
Minimum duration (μs) of an API call |
|
Max(us) |
Maximum duration (μs) of an API call |
|
Variance |
Time consumption variance of an API call. |
AscendCL APIs and OS Runtime APIs
|
Field |
Description |
|---|---|
|
Name |
API name |
|
Type (AscendCL API only) |
Type of the AscendCL API |
|
Time(%) |
Percentage of time taken by the API |
|
Time(us) |
Time (μs) taken by the API You can rearrange the information in ascending or descending order by clicking the triangle icon next to the field name. |
|
Count |
Number of API calls |
|
Avg(us) |
Average duration (μs) of a single API call |
|
Min(us) |
Minimum duration (μs) of an API call |
|
Max(us) |
Maximum duration (μs) of an API call |
|
Process ID |
Process ID of the API |
|
Thread ID |
Thread ID of the API |
Runtime API
|
Field |
Description |
|---|---|
|
Name |
API name |
|
Stream ID |
Stream ID |
|
Time(%) |
Percentage of time taken by the API |
|
Time(ns) |
Time (ns) taken by the API You can rearrange the information in ascending or descending order by clicking the triangle icon next to the field name. |
|
Calls |
Runtime API calls |
|
Avg(ns) |
Average duration (ns) of a single API call |
|
Min(ns) |
Minimum duration (ns) of an API call |
|
Max(ns) |
Maximum duration (ns) of an API call |
|
Process ID |
Process ID of the API |
|
Thread ID |
Thread ID of the API |
OPs
|
Field |
Description |
|---|---|
|
Time(%) |
Percentage of time taken by the API |
|
Time(us) |
Time (μs) taken by the API You can rearrange the information in ascending or descending order by clicking the triangle icon next to the field name. |
|
Count |
Number of times that a task is executed |
|
Avg(us) |
Average execution time of a task, in μs |
|
Min(us) |
Minimum execution time of a task, in μs |
|
Max(us) |
Maximum execution time of a task, in μs |
|
Waiting(us) |
Total waiting time of a task, in μs |
|
Running(us) |
Total running time of a task, in μs. If a task has been running for a long time, the operator implementation may be incorrect. |
|
Pending(us) |
Total pending time of a task, in μs |
|
Type |
Task type |
|
API |
Called API |
|
Task ID |
Task ID |
|
Op Name |
Operator name |
|
Stream ID |
Stream ID |
|
Field |
Description |
|---|---|
|
Kernel Name |
Kernel name |
|
Kernel Type |
Kernel type |
|
Stream Id |
Stream ID |
|
Task Id |
Task ID |
|
Task Time(us) |
Task duration (μs) |
|
Task Start(us |
Task start time (μs). |
|
Task Stop(us) |
Task end time (μs). |
Op Info
|
Field |
Description |
|---|---|
|
Model Name |
Model name This parameter is displayed only when offline model calling (ACL function API: aclModelExecute) is involved in an inference application. |
|
Task ID |
Task ID |
|
Stream ID |
Stream ID |
|
Op Name |
Operator name |
|
Op Type |
Operator type |
|
Task Start Time |
Time when the task starts to run |
|
Task Duration(us) |
Task running duration (us) |
|
Task Wait Time(us) |
Interval between tasks (μs) |
|
Block Dim |
Index of the core that executes the task |
|
Input Shapes |
Input shapes |
|
Input Data Types |
Input data types |
|
Input Formats |
Input formats |
|
Output Shapes |
Output shapes |
|
Output Data Types |
Output data types |
|
Output Formats |
Output formats |
|
Aicore Time(us) (displayed only when the collection mode is Task-Based) |
AI Core running duration (μs) |
|
Total Cycles (displayed only when the collection mode is Task-Based) |
Number of cycles taken to execute all task instructions |