Function Description

Overview

This section describes how to collect profile data by using the profiling pyACL APIs for subscription to operator information. The purpose is to parse the collected profile data and write the data to pipelines. You need to read the data to the memory, and then call the related pyACL API to obtain the profile data.

API calling: acl.prof.model_subscribe, acl.prof.get*, and acl.prof.model_unsubscribe. The profile data of operators in the model can be obtained, including the operator name, operator type name, and operator execution time.

General Restrictions

The APIs in this section cannot be called with Profiling pyACL APIs (Collecting and Flushing Profile Data) together. acl.prof.init, acl.prof.start, acl.prof.stop, and acl.prof.finalize cannot be called between acl.prof.model_subscribe and acl.prof.model_unsubscribe.

API Constraints