<?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 S32DS measure CPU Load in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32DS-measure-CPU-Load/m-p/2109498#M49532</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to know how to measure the CPU load while the code is running on the S32K344 EVB using S32DS 3.5.14 in a FreeRTOS-based application.&lt;/P&gt;&lt;P&gt;I know that there is no hardware support in the ARM core on S32K devices. Is there any plugin or other option you would recommend to measure CPU load?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 11:30:51 GMT</pubDate>
    <dc:creator>DiaDev</dc:creator>
    <dc:date>2025-06-03T11:30:51Z</dc:date>
    <item>
      <title>S32DS measure CPU Load</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-measure-CPU-Load/m-p/2109498#M49532</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to know how to measure the CPU load while the code is running on the S32K344 EVB using S32DS 3.5.14 in a FreeRTOS-based application.&lt;/P&gt;&lt;P&gt;I know that there is no hardware support in the ARM core on S32K devices. Is there any plugin or other option you would recommend to measure CPU load?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 11:30:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-measure-CPU-Load/m-p/2109498#M49532</guid>
      <dc:creator>DiaDev</dc:creator>
      <dc:date>2025-06-03T11:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS measure CPU Load</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-measure-CPU-Load/m-p/2109509#M49533</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to know how to measure the CPU load while the code is running on the S32K344 EVB using S32DS 3.5.14 in a FreeRTOS-based application.&lt;/P&gt;&lt;P&gt;I know that there is no hardware support in the ARM core on S32K devices. Is there any plugin or other option you would recommend to measure CPU load?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Since the ARM core on S32K devices lacks built-in support for CPU load measurement, you can estimate CPU usage in your FreeRTOS-based application using FreeRTOS runtime statistics. One approach is monitoring the idle task runtime (ulTaskGetIdleRunTimeCounter()). Another is using traceTASK_SWITCHED_IN to track task execution and calculate CPU utilization. If you prefer a visual method, you can send runtime statistics over UART for real-time monitoring. Let me know if you need help implementing one of these!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 11:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-measure-CPU-Load/m-p/2109509#M49533</guid>
      <dc:creator>sherri54labrecque</dc:creator>
      <dc:date>2025-06-03T11:50:52Z</dc:date>
    </item>
  </channel>
</rss>

