]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: time: define tot_time structure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 Aug 2024 12:50:26 +0000 (14:50 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 7 Aug 2024 13:40:52 +0000 (15:40 +0200)
commita6e2523ca1f3dcc90b050d75af62bb867a2acc07
tree7890b53313f331ab5a88def58547f4e99403f06b
parent663416b4ef2fafcffa61c04aa09056853d9674f7
MINOR: time: define tot_time structure

Define a new utility type tot_time. Its purpose is to be able to account
elapsed time accross multiple periods. Functions are defined to easily
start and stop measures, and return the current value.
include/haproxy/time-t.h [new file with mode: 0644]
include/haproxy/time.h