All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] SEC() and MSEC() and USEC() macros
@ 2007-03-19 15:51 Robert P. J. Day
  2007-03-19 16:04 ` Arnd Bergmann
  2007-03-19 16:32 ` Nishanth Aravamudan
  0 siblings, 2 replies; 3+ messages in thread
From: Robert P. J. Day @ 2007-03-19 15:51 UTC (permalink / raw)
  To: kernel-janitors


  no, it's not a serious proposal but, boy, wouldn't it have made the
code more readable if someone had defined macros/inline functions like
sec(), msec() and usec() rather than cluttering up the code with
things like "22*HZ/10" and "30*HZ/100".

  just thinking out loud, don't take it seriously.

rday

-- 
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2007-03-19 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-19 15:51 [KJ] SEC() and MSEC() and USEC() macros Robert P. J. Day
2007-03-19 16:04 ` Arnd Bergmann
2007-03-19 16:32 ` Nishanth Aravamudan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.