L0_DFX
Function Usage
Collects the delay statistics of the L0 API and prints input parameters. It must be called at the beginning of the L0 API.
Prototype
L0_DFX(profilingName, ....)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
profilingName |
Input |
Name of the L0 API on the host, for example, AddAiCore. |
Variable-length parameters |
Input |
Input parameters of the L0 API on the host. |
Constraints
This API must be called at the entry of the L0 second-phase API. Otherwise, the delay statistics may be inaccurate.
Example
1 2 | // Collect delay statistics of the L0 API AddAiCore and prints parameters. AddAiCore is the name, and self, other, and addOut are the parameters of the L0 API. L0_DFX(AddAiCore, self, other, addOut); |
Parent topic: Common Macros and Classes