As title, I would like to measure an API function execution time. First method is to print the timestamp before and after the API and the second is to use GPIO and measure the time duration from oscilloscope. I am not sure is there any API that can use to get timestamp.
From hardware file, it seems SXIO0-3 are available. Where can I find the example code from thingysdkv210 such as config GPIO's direction, driver type...etc and set it's output value?
thanks