Optimizations.
Pawel Jakub Dawidek
nick at garage.freebsd.pl
Fri May 16 00:03:44 PDT 2003
On Thu, May 15, 2003 at 11:14:43PM -0700, Terry Lambert wrote:
+> What about "gettimeofday()"? There are a number of applications,
+> particularly HTTP protocol applications, with strict timestamp
+> logging requirements, mandated by standards. The tend to call
+> gettimeofday() up to six times per transaction. Examples will
+> include HTTP proxies, L7 load balancers, and proxy caches. Any
+> box competing in the Cisco CSS/F5 falls into this category.
That's right:)
Look at functions in /sys/kern/kern_tc.c. There are so many little
functions. How about put __inline here and there?
And second thing. Does anybody think about representing time in BCD code?
--
Pawel Jakub Dawidek pawel at dawidek.net
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030516/35446810/attachment.bin
More information about the freebsd-hackers
mailing list