MstxMonitor.disable_domain¶
Product Support ¶
Note: For details about Ascend product models, see Ascend Product Models.
| Product Type | Supported |
|---|---|
| Ascend 950 products | √ |
| Atlas A3 training products/Atlas A3 inference products | √ |
| Atlas A2 training products/Atlas A2 inference products | √ |
| Atlas 200I/500 A2 inference products | √ |
| Atlas inference products | × |
| Atlas training series products | × |
Function Usage ¶
Disables the profiling for a specific domain.
Function Prototype¶
Parameter Description¶
indicates the name of the dotting field. can be called for multiple times to disable the collection of multiple fields. By default, the profiling is enabled for all domains. |
Return Values¶
If the operation is successful, MsptiResult.MSPTI_SUCCESS is returned. If domain_name is an empty string, MsptiResult.MSPTI_ERROR_INVALID_PARAMETER is returned, indicating that the operation fails.