<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>measure an API function execution time in thingy52 SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70323/measure-an-api-function-execution-time-in-thingy52-sdk</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Jan 2021 11:24:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70323/measure-an-api-function-execution-time-in-thingy52-sdk" /><item><title>RE: measure an API function execution time in thingy52 SDK</title><link>https://devzone.nordicsemi.com/thread/288896?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 11:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7505586b-52dd-4958-bc1c-2f8e0da0037a</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You can use either the RTC or a TIMER using the HFCLK, but it will have limited resolution. &lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/20515/measuring-code-execution-time"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/20515/measuring-code-execution-time&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The documentation for the Thingy:52 and the nRF52832 can be found here: &lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;https://infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>