跳转至

msptiActivityDisableMarkerDomain

Supported Products

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 ×

Description

Disables the profiling for a specific domain.

You can call the API for multiple times to disable the profiling for multiple domains. By default, the profiling is enabled for all domains.

Function Prototype

msptiResult msptiActivityDisableMarkerDomain(const char* name)

Parameter Description

Table 1 Command-line options

Parameter Name

Input/Output

Description

name

Input

indicates the name of the dotting field.

Return Values

MSPTI_SUCCESS is returned to indicate that the operation is successful. If the name is an empty string, MSPTI_ERROR_INVALID_PARAMETER is returned to indicate that the operation fails.