Bird
0
0

Which FreeRTOS API helps monitor the minimum amount of heap memory ever available since system start?

easy📝 Conceptual Q2 of 15
FreeRTOS - Memory Management
Which FreeRTOS API helps monitor the minimum amount of heap memory ever available since system start?
AxPortGetFreeHeapSize()
BxPortGetMinimumEverFreeHeapSize()
CuxTaskGetStackHighWaterMark()
DvTaskGetRunTimeStats()
Step-by-Step Solution
Solution:
  1. Step 1: Identify the function for minimum heap monitoring

    xPortGetMinimumEverFreeHeapSize() returns the smallest amount of free heap memory ever recorded.
  2. Step 2: Exclude other functions

    xPortGetFreeHeapSize() returns current free heap, uxTaskGetStackHighWaterMark() relates to stack, and vTaskGetRunTimeStats() is for CPU usage.
  3. Final Answer:

    xPortGetMinimumEverFreeHeapSize() -> Option B
  4. Quick Check:

    Minimum heap ever free = xPortGetMinimumEverFreeHeapSize() [OK]
Quick Trick: Minimum heap ever free uses xPortGetMinimumEverFreeHeapSize() [OK]
Common Mistakes:
  • Using current free heap function instead
  • Confusing stack monitoring with heap monitoring
  • Choosing unrelated runtime stats function

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes