<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis Design Studio中的主题 Re: C Algorithm, Execution Time</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518846#M6840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter,&lt;/P&gt;&lt;P&gt;I'm using the Segger SystemViewer (see &lt;A href="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/" title="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/"&gt;https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/&lt;/A&gt; ) for this kind of measurement. With&lt;/P&gt;&lt;P&gt;SEGGER_SYSVIEW_OnUserStart(id)&lt;/P&gt;&lt;P&gt;I can start a measurement point, and with&lt;/P&gt;&lt;P&gt;SEGGER_SYSVIEW_OnUserStop(id)&lt;/P&gt;&lt;P&gt;I have the corresponding end point. You can have multiple different IDs so you can measure different spans. Using the SystemViewer I get the exact timing. I hope you are using a Cortex-M4(F) core, then you get the number of cycles. Otherwise on an a M0+ (because it does not have a cycle counter in hardware) the timing is measured with the SysTick ticks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jun 2016 12:46:23 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2016-06-11T12:46:23Z</dc:date>
    <item>
      <title>C Algorithm, Execution Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518845#M6839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working with a sliced algorithm, so I like to know the execution time of each slice.&lt;/P&gt;&lt;P&gt;Exist into KDS a tool to calculate the execution time of a C algorithm or process ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2016 12:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518845#M6839</guid>
      <dc:creator>walter_gallegos</dc:creator>
      <dc:date>2016-06-11T12:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: C Algorithm, Execution Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518846#M6840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Walter,&lt;/P&gt;&lt;P&gt;I'm using the Segger SystemViewer (see &lt;A href="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/" title="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/"&gt;https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/&lt;/A&gt; ) for this kind of measurement. With&lt;/P&gt;&lt;P&gt;SEGGER_SYSVIEW_OnUserStart(id)&lt;/P&gt;&lt;P&gt;I can start a measurement point, and with&lt;/P&gt;&lt;P&gt;SEGGER_SYSVIEW_OnUserStop(id)&lt;/P&gt;&lt;P&gt;I have the corresponding end point. You can have multiple different IDs so you can measure different spans. Using the SystemViewer I get the exact timing. I hope you are using a Cortex-M4(F) core, then you get the number of cycles. Otherwise on an a M0+ (because it does not have a cycle counter in hardware) the timing is measured with the SysTick ticks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2016 12:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518846#M6840</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-06-11T12:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: C Algorithm, Execution Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518847#M6841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich&lt;/P&gt;&lt;P&gt;Thank for answer, Segger SystemViewer apparently do the task; unfortunately I'm using&amp;nbsp; a P&amp;amp;E pod. So, I don't have access to a J-Link.&lt;/P&gt;&lt;P&gt;I will place some assert to validate pre/post-conditions into the slices; is not the same but be warrant non overlapping working condition.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 20:17:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/C-Algorithm-Execution-Time/m-p/518847#M6841</guid>
      <dc:creator>walter_gallegos</dc:creator>
      <dc:date>2016-06-12T20:17:29Z</dc:date>
    </item>
  </channel>
</rss>

