Updated: October 28, 2024 |
Stop profiling and print the profiling information of a critical section of an algorithm
#include <adas/adas_external_algo.h>
adas_error_t adas_profile_print(const char *str, uint64_t *time)
This function stops profiling an algorithm and prints the profiling information, which measures how much time has elapsed since the call to adas_profile_init().
ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.