mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Average number of instructions per line of kernel code
@ 2007-08-30 13:00 Mohamed Bamakhrama
  2007-08-30 13:31 ` Jesper Juhl
  0 siblings, 1 reply; 7+ messages in thread
From: Mohamed Bamakhrama @ 2007-08-30 13:00 UTC (permalink / raw)
  To: linux-mips, linux-kernel

Hi all,
I have a question regarding the average number of assembly
instructions per line of kernel code. I know that this is a difficult
question since it depends on many factors such as the instruction set
architecture, compiler used, optimizations used, type of code, coding
style, etc...
I would like to know a rough estimate for such a quantity for the
kernel 2.4/2.6 code running on MIPS32 architecture.
My estimate is between 5-10 instructions. I googled for such a thing
but couldn't find any useful papers/resources.

Many thanks in advance.

Best regards

-- 
Mohamed A. Bamakhrama

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-30 20:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-30 13:00 Average number of instructions per line of kernel code Mohamed Bamakhrama
2007-08-30 13:31 ` Jesper Juhl
2007-08-30 13:48   ` Mohamed Bamakhrama
2007-08-30 13:54     ` Jesper Juhl
2007-08-30 16:29     ` J. Scott Kasten
2007-08-30 19:49       ` Jan Engelhardt
2007-08-30 19:56         ` Freddy Spierenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®