跳转至

msptiActivityEnableMarkerDomain

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 the profiling for a specific domain.

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

Function Prototype

msptiResult msptiActivityEnableMarkerDomain(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.