A system-level view of program execution can be helpful in identifying problems during program execution including correctness and performance issues. Some problems are difficult to debug by using explicit print statements or by using traditional interactive debuggers. These issues can include the following:
- Missing or mismatching locks
- Buffer overruns
- Incorrect programming of DMA buffers
The AI Engine architecture has direct support for generation, collection, and streaming of events as trace data during simulation, hardware emulation, or hardware execution.