<?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 Freertos Tasks view show Runtime values but wrong percentage after configuration in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2183626#M4176</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using MCUXpresso 25.6.136, FreeRTOS 11.0.1 and the SDK_2.x_MCXA156 25.06.00. We adapted the following tutorials to configure the Run time Statistics of FreeRTOS :&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2020/04/15/freertos-task-runtime-statistics-for-nxp-i-mx-rt1064/" target="_blank"&gt;https://mcuoneclipse.com/2020/04/15/freertos-task-runtime-statistics-for-nxp-i-mx-rt1064/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2018/08/02/tutorial-using-runtime-statistics-with-amazon-freertos-v10/" target="_blank"&gt;https://mcuoneclipse.com/2018/08/02/tutorial-using-runtime-statistics-with-amazon-freertos-v10/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, the view always display 0.0% for each task despite the hexadecimal values next to the percentage being coherent with the application, here is our view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freertos_runtime_view_no_percentage.png" style="width: 850px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360204i8B2CD767033D49FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="freertos_runtime_view_no_percentage.png" alt="freertos_runtime_view_no_percentage.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Calculating the Runtime percentage of each task using the hexadecimal values seem to corresponds to the task execution (increasing the task frequency, increase this number).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This problem is really similar to this issue :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/FreeRTOS-runtime-stats/td-p/1067434" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/FreeRTOS-runtime-stats/td-p/1067434&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there additional steps needed to display the percentage (compared to the linked tutorials) or is this an MCUXpresso small bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2025 07:13:28 GMT</pubDate>
    <dc:creator>rj_engineer</dc:creator>
    <dc:date>2025-10-10T07:13:28Z</dc:date>
    <item>
      <title>Freertos Tasks view show Runtime values but wrong percentage after configuration</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2183626#M4176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using MCUXpresso 25.6.136, FreeRTOS 11.0.1 and the SDK_2.x_MCXA156 25.06.00. We adapted the following tutorials to configure the Run time Statistics of FreeRTOS :&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2020/04/15/freertos-task-runtime-statistics-for-nxp-i-mx-rt1064/" target="_blank"&gt;https://mcuoneclipse.com/2020/04/15/freertos-task-runtime-statistics-for-nxp-i-mx-rt1064/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2018/08/02/tutorial-using-runtime-statistics-with-amazon-freertos-v10/" target="_blank"&gt;https://mcuoneclipse.com/2018/08/02/tutorial-using-runtime-statistics-with-amazon-freertos-v10/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, the view always display 0.0% for each task despite the hexadecimal values next to the percentage being coherent with the application, here is our view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="freertos_runtime_view_no_percentage.png" style="width: 850px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360204i8B2CD767033D49FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="freertos_runtime_view_no_percentage.png" alt="freertos_runtime_view_no_percentage.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Calculating the Runtime percentage of each task using the hexadecimal values seem to corresponds to the task execution (increasing the task frequency, increase this number).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This problem is really similar to this issue :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-IDE/FreeRTOS-runtime-stats/td-p/1067434" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-IDE/FreeRTOS-runtime-stats/td-p/1067434&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there additional steps needed to display the percentage (compared to the linked tutorials) or is this an MCUXpresso small bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 07:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2183626#M4176</guid>
      <dc:creator>rj_engineer</dc:creator>
      <dc:date>2025-10-10T07:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Freertos Tasks view show Runtime values but wrong percentage after configuration</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2184187#M4183</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/251635"&gt;@rj_engineer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please send me your project? I’ll help reproduce the issue and investigate it. If it turns out to be an IDE-related problem, I’ll report it to our development team.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 03:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2184187#M4183</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2025-10-11T03:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Freertos Tasks view show Runtime values but wrong percentage after configuration</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2184737#M4194</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We solved the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As compared to the previously linked tutorials, two macros must be added in FreeRTOSConfig_Gen.h :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;#define configUSE_STATS_FORMATTING_FUNCTIONS 1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;#define configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H 1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;In our case "freertos_tasks_c_additions.h" was missing from our project so we added it from the latest SDK example.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 09:38:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Freertos-Tasks-view-show-Runtime-values-but-wrong-percentage/m-p/2184737#M4194</guid>
      <dc:creator>rj_engineer</dc:creator>
      <dc:date>2025-10-13T09:38:32Z</dc:date>
    </item>
  </channel>
</rss>

