commit | 5e8f066961d808608c170bd54d42be9f66408cde | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Feb 12 00:59:08 2007 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Feb 12 00:59:08 2007 +0100 |
tree | c24a9d85b7b32e9ac63e028366bc93abdb373797 | |
parent | b1b8272a541e7042abeffce0dd32169e1333c9e6 [diff] |
[MINOR] slightly optimize time calculation for rbtree The new rbtree-based scheduler makes heavy use of tv_cmp2(), and this function becomes a huge CPU eater. Refine it a little bit in order to slightly reduce CPU usage.