![]() |
Edge AI Add-on API 2.2.0
|
| int nrf_edgeai_obsv_core_for_each_metric | ( | nrf_edgeai_obsv_core_t * | p_ctx, |
| nrf_edgeai_obsv_metric_cb_t | cb, | ||
| void * | user ) |
#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_core.h>
Iterate over all registered metrics.
Calls p_metric->finalize() then p_metric->snapshot() for each metric, and invokes cb with the resulting snapshot. Iteration stops early if cb returns false.
| p_ctx | Initialized core. |
| cb | Callback invoked once per metric snapshot. Return false to stop early. |
| user | Opaque pointer forwarded to cb. |
p_ctx or cb is NULL.