
17 Jan
2010
17 Jan
'10
10:32 p.m.
Dear Sanjeev,
in message B85A65D85D7EB246BE421B3FB0FBB59301E1EB4A5D@dbde02.ent.ti.com you wrote:
Also, I believe faster execution time is always better; not just in critical sections of code. I possibly used "global" quite loosely; while responding earlier. The variable cpu_revision (being discussed) here is actually a 'static'. (See patch 1/2).
So how much faster is reading this variable compared to reading from the register?
Can you really measure _any_ difference?
But, if we feel otherwise, I can revert to executing detection mechanism each time in the function.
Please undo this.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Ernest asks Frank how long he has been working for the company.
"Ever since they threatened to fire me."