]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] use regparm on a few tv_* functions
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 13:38:50 +0000 (15:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 13:38:50 +0000 (15:38 +0200)
commitfb278677e2a76b9a2f067f7a04350815cc6f1e1e
tree8a11a0c68c9235dfa979ea2be10cacbbcf761f1e
parent2b35c95d6cbd49c8e72a1326452c706e3c9c9f8c
[MEDIUM] use regparm on a few tv_* functions

Some of the tv_* functions are called very often. Passing their
arguments as registers is quite faster. This can be disabled
by setting CONFIG_HAP_DISABLE_REGPARM.
include/common/config.h
include/common/time.h
src/log.c
src/time.c