Function: range_stop

C Prototype

aclError aclprofRangeStop(uint32_t *rangeId)

Python Function

ret = acl.prof.range_stop(range_id)

Function Usage

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 stamp.

Input Description

range_id: int, unique ID of the msproftx event stamp. Used to distinguish between threads.

Return Value

ret: int, error code.

  • 0 indicates success.
  • Other values indicate failure.

Restrictions

Reference

For the API call example, see Profile Data Collection.