Edge AI Add-on API 2.2.0
Loading...
Searching...
No Matches

◆ nrf_edgeai_obsv_core_reset()

int nrf_edgeai_obsv_core_reset ( nrf_edgeai_obsv_core_t * p_ctx)

#include <include/nrf_edgeai_obsv/nrf_edgeai_obsv_core.h>

Reset the inference and feature counters and clear all registered metrics.

Calls each metric's clear callback to zero counters while preserving configuration set at registration time. Metrics without a clear callback are skipped (no-op). Registered metrics remain attached; model metadata is preserved.

Parameters
p_ctxInitialized core.
Returns
0 on success, -EINVAL if p_ctx is NULL.