Introduction¶
Zephyr Profiling Library (ZPL), or Zephelin for short, is a library which enables capturing and reporting runtime performance metrics, for the profiling and detailed analysis of Zephyr applications, with a special focus on applications running AI/ML inference workloads.
This documentation describes the following aspects of Zephelin and the associated projects:
Zephelin - provides general information on Zephelin repository, describes how to build, test and use the profiling middleware
Zephelin configuration - describes build-time and runtime configuration of Zephelin library
Memory profiling - describes memory profiling, along with memory events
Tracing code scopes - describes the use of tracing code scopes
Trace capture debug interface - provides information on the debug interface for capturing traces
Instrumentation - shows how to use instrumentation subsystem with Zephelin
CTF to TEF conversion - describes how traces are converted and processed
Adding support for new AI inference libraries - depicts how to track a new runtime
Zephelin Trace Viewer - describes the tool for trace visualization and provides sample applications for various tracing features
Zephelin usage examples - aggregates and describes various example applications present in the project
Zephelin’s developer guidelines - summarizes and links resources regarding development of Zephelin