<?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>topic Re: Sample use of the Run Time Statistics function on S32K144 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1299321#M11218</link>
    <description>&lt;P&gt;Thank you. I've solved the overflow problem.&lt;/P&gt;&lt;P&gt;I configured both options&lt;/P&gt;&lt;P&gt;#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() /* nothing */ /* default: use Tick counter as runtime counter */&lt;/P&gt;&lt;P&gt;#define portGET_RUN_TIME_COUNTER_VALUE()&amp;nbsp; &amp;nbsp;&amp;nbsp;xTaskGetTickCount() /* default: use Tick counter as runtime counter */&amp;nbsp;&lt;/P&gt;&lt;P&gt;My new question is, how do I calculate the CPU usage statistics for every five minutes?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 01:55:57 GMT</pubDate>
    <dc:creator>fengjuntian</dc:creator>
    <dc:date>2021-06-29T01:55:57Z</dc:date>
    <item>
      <title>Sample use of the Run Time Statistics function on S32K144</title>
      <link>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1298733#M11207</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I created a FreeRTOS project and used vTaskGetRuntimeStats () to get CPU usage.&lt;/P&gt;&lt;P&gt;But the program kept running portFORCE_INLINE static void vPortRaiseBASEPRI( void )&lt;/P&gt;&lt;P&gt;Please provide a sample program, thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 02:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1298733#M11207</guid>
      <dc:creator>fengjuntian</dc:creator>
      <dc:date>2021-06-28T02:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sample use of the Run Time Statistics function on S32K144</title>
      <link>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1299185#M11217</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;have you enabled the statistics in the freertos component?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1624893509204.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/148177i200C47860677A122/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1624893509204.png" alt="lukaszadrapa_0-1624893509204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 15:18:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1299185#M11217</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-06-28T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sample use of the Run Time Statistics function on S32K144</title>
      <link>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1299321#M11218</link>
      <description>&lt;P&gt;Thank you. I've solved the overflow problem.&lt;/P&gt;&lt;P&gt;I configured both options&lt;/P&gt;&lt;P&gt;#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() /* nothing */ /* default: use Tick counter as runtime counter */&lt;/P&gt;&lt;P&gt;#define portGET_RUN_TIME_COUNTER_VALUE()&amp;nbsp; &amp;nbsp;&amp;nbsp;xTaskGetTickCount() /* default: use Tick counter as runtime counter */&amp;nbsp;&lt;/P&gt;&lt;P&gt;My new question is, how do I calculate the CPU usage statistics for every five minutes?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 01:55:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Sample-use-of-the-Run-Time-Statistics-function-on-S32K144/m-p/1299321#M11218</guid>
      <dc:creator>fengjuntian</dc:creator>
      <dc:date>2021-06-29T01:55:57Z</dc:date>
    </item>
  </channel>
</rss>

