msptiActivityEnable¶
Supported Products¶
Note: For details about Ascend product models, see Ascend Product Models.
| Product Type | Supported |
|---|---|
| Ascend 950 products | √ |
| Atlas A3 training series/Atlas A3 inference series | √ |
| Atlas A2 training series/Atlas A2 inference series | √ |
| Atlas 200I/500 A2 inference products | √ |
| Atlas inference series | × |
| Atlas training series products | × |
Description ¶
Enables MSPTI to collect activity data of a specified Kind.
Collects activity records of a specific type. This API can be called for multiple times and different msptiActivityKinds can be set. MSPTI can collect activity data of different types.
Function Prototype¶
Parameter Description¶
Table 1 Command-line options
Type of theActivity Record. Set this parameter to the enumerated value of msptiActivityKind. |
Return Values¶
MSPTI_SUCCESS indicates that the operation is successful. Other values indicate that the operation fails.