execution Time of API-functions

Hi Every one,
how can i get the execution Time of API-functions.
i am using MSP430f5438a.
if there is any suggestions, it will be great. Best Regards.

execution Time of API-functions

Start a high speed peripheral timer, then note the count before you call the function, and then again after calling the function. or Set a digital output before calling a function, and then clear it again when the function returns and measure the time on a scope. Note the FreeRTOS license would not allow that information to be published in a public place.

execution Time of API-functions

thank you for your quick reply. :)