Machine-translated by Google. Questions are authored in English.
Top

Discussion

A system runs correctly for hours and then locks up. Among the following, the first thing to instrument is

  • A.the tick rate configured in the kernel
  • B.the pin multiplexing of the peripherals in use
  • C.the stack high-water marks and any heap allocation failures
  • D.the optimisation level that was used to compile the application

Answer: C

A fault that takes hours to appear is characteristic of a slow resource leak or a rare stack excursion, and both are cheap to instrument. Kernels provide high-water mark queries and allocation failure hooks precisely for this.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.