Tool Introduction
MindStudio Profiling Tool Interface (MSPTI) is a set of profiling APIs provided by MindStudio for Ascend devices. You can use MSPTI to build profiling tools for NPU applications.
MSPTI is for common scenarios. Profiling tools developed with MSPTI APIs can be used in inferencetraining scenarios in different frameworks.
MSPTI provides the following functions:
- Tracing: In MSPTI, tracing refers to the collection of timestamps and additional information when CANN applications start activities, including information about CANN APIs, kernels, and memory copies. Identify performance issues of CANN by understanding the program running duration. You can use the Activity APIs and Callback APIs to collect tracing information.
- Profiling: In MSPTI, profiling refers to the collection of NPU performance metrics of a kernel or a group of kernels.
MSPTI provides a set of C APIs and a set of Python APIs that wrap the C functionality as its underlying logic.
Restrictions
MSPTI cannot be used with any other profiling tools. Otherwise, the profile data will be lost.
Availability
Atlas 200/500 A2 Inference Product
Atlas A2 Training Series Product/Atlas 800I A2 Inference Product
Atlas A3 Training Series Product
Parent topic: MSPTI