adas_profile_init()

Start profiling of a critical section of an algorithm

Synopsis:

#include <adas/adas_external_algo.h>
adas_error_t adas_profile_init(uint64_t *time)

Arguments:

time
This function sets this timestamp value; must pass this value to the call of adas_profile_print().

Library:

libadas

Description:

Profiling will be applied from the time this function is called until adas_profile_print() is called.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.