Updated: October 28, 2024 |
Start profiling of a critical section of an algorithm
#include <adas/adas_external_algo.h>
adas_error_t adas_profile_init(uint64_t *time)
This function starts profiling an algorithm's critical section. The profiling will be applied from the time this function is called until adas_profile_print() is called.
ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.