Bird
0
0

Which FreeRTOS configuration must be enabled to collect runtime statistics for bug detection?

easy📝 Syntax Q3 of 15
FreeRTOS - Debugging and Monitoring
Which FreeRTOS configuration must be enabled to collect runtime statistics for bug detection?
AconfigUSE_IDLE_HOOK
BconfigUSE_PREEMPTION
CconfigMAX_PRIORITIES
DconfigGENERATE_RUN_TIME_STATS
Step-by-Step Solution
Solution:
  1. Step 1: Identify runtime stats config

    configGENERATE_RUN_TIME_STATS enables collection of task execution time data.
  2. Step 2: Understand other options

    configUSE_PREEMPTION controls scheduling type; configMAX_PRIORITIES sets max task priorities; configUSE_IDLE_HOOK enables idle task hook.
  3. Final Answer:

    configGENERATE_RUN_TIME_STATS -> Option D
  4. Quick Check:

    Runtime stats config [OK]
Quick Trick: Enable configGENERATE_RUN_TIME_STATS for runtime data [OK]
Common Mistakes:
  • Confusing preemption with runtime stats
  • Selecting unrelated configuration options
  • Assuming idle hook collects runtime stats

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More FreeRTOS Quizzes