]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] time: add __usec_to_1024th to convert usecs to 1024th of second
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2009 23:34:01 +0000 (00:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2009 23:34:01 +0000 (00:34 +0100)
commit776cd87e321f403929898ad5167f48040c24460e
treee0249642497221f4e8d23a7cedc2cb373773d244
parentdefc52da952e57d89749a4bb741bb6b90a917fe7
[MINOR] time: add __usec_to_1024th to convert usecs to 1024th of second

This function performs a fast conversion from usec to 1024th of a second,
and will be useful for many fast sub-second computations.
include/common/time.h