aclprofRangeStop

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

Records the end time of the time span by msproftx when an event occurs.

After this API is called, the Profiling tool automatically records the end timestamp in the stamp pointer.

Prototype

1
aclError aclprofRangeStop(uint32_t rangeId)

Parameters

Parameter

Input/Output

Description

rangeId

Output

Unique ID of a msproftx event stamp. Used to distinguish between threads.

Returns

0 on success; otherwise, failure. For details, see aclError.

Restrictions