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

Discussion

Raising the tick rate from 100 Hz to 1000 Hz gives finer timing resolution at the cost of

  • A.ten times as many tick interrupts and their overhead
  • B.a proportional reduction in the available RAM
  • C.a loss of determinism in the kernel's operations
  • D.the inability to use timeouts longer than one second

Answer: A

Correct answer: ten times as many tick interrupts and their overhead

Each tick is an interrupt with a context save, a list walk and a possible switch, so ten times the rate is ten times that cost - a real fraction of the processor on a small part. Determinism is unaffected and the memory unchanged; what is spent is processor time, which is why the tick rate is chosen rather than maximised.

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

Post your comment

Please log in or register to post a comment.