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

Discussion

A kernel whose context switch takes 120 cycles on a 48 MHz core spends, at 1000 switches per second, about

  • A.0.025 per cent of the processor
  • B.12 per cent of the processor
  • C.0.25 per cent of the processor
  • D.2.5 per cent of the processor

Answer: C

A hundred and twenty thousand cycles a second out of forty-eight million is one four-hundredth. It becomes a real concern at ten or a hundred times that switching rate, which is why a thousand-hertz tick with many tasks deserves a check.

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

Post your comment

Please log in or register to post a comment.