Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
565f333088e59a3a45509237cdcdc3e5ae3602ea
/
src
/
time.c
fe16126
BUG/MEDIUM: time: fix updating of global_now upon clock drift
by Willy Tarreau
· Wed Apr 28 17:31:22 2021 +0200
1f9e11e
CLEANUP: time: use __tv_to_ms() in tv_update_date() instead of open-coding
by Willy Tarreau
· Fri Apr 23 16:03:21 2021 +0200
4d01f3d
MINOR: time: avoid overwriting the same values of global_now
by Willy Tarreau
· Fri Apr 23 15:36:47 2021 +0200
481795d
MINOR: time: avoid unneeded updates to now_offset
by Willy Tarreau
· Fri Apr 23 15:17:27 2021 +0200
4498271
MEDIUM: time: make the clock offset global and no per-thread
by Willy Tarreau
· Sun Apr 11 18:53:58 2021 +0200
7e4a557
MINOR: time: change the global timeval and the the global tick at once
by Willy Tarreau
· Sun Apr 11 15:34:25 2021 +0200
70cb302
MINOR: time: remove useless variable copies in tv_update_date()
by Willy Tarreau
· Sun Apr 11 15:17:48 2021 +0200
c4c80fb
MINOR: time: move the time initialization out of tv_update_date()
by Willy Tarreau
· Sun Apr 11 15:00:34 2021 +0200
61c72c3
CLEANUP: time: remove the now unused ms_left_scaled
by Willy Tarreau
· Sun Apr 11 01:40:13 2021 +0200
b48e7c0
BUG/MEDIUM: time: make sure to always initialize the global tick
by Willy Tarreau
· Tue Mar 30 18:13:26 2021 +0200
6064b34
MINOR: time: also provide a global, monotonic global_now_ms timer
by Willy Tarreau
· Tue Mar 23 08:45:42 2021 +0100
650f374
MINOR: time: export the global_now variable
by Willy Tarreau
· Wed Mar 17 18:52:18 2021 +0100
46a030c
CLEANUP: assorted typo fixes in the code and comments
by Ilya Shipitsin
· Sun Jul 05 16:36:08 2020 +0500
b39a375
BUG/MINOR: log: missing timezone on iso dates.
by Emeric Brun
· Thu Jul 02 17:22:17 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
5b9cde4
REORG: include: move THREAD_LOCAL and __decl_thread() to compiler.h
by Willy Tarreau
· Thu Jun 11 08:33:02 2020 +0200
48fbcae
REORG: tools: split common/standard.h into haproxy/tools{,-t}.h
by Willy Tarreau
· Wed Jun 03 18:09:46 2020 +0200
92b4f13
REORG: include: move time.h from common/ to haproxy/
by Willy Tarreau
· Mon Jun 01 11:05:15 2020 +0200
3f567e4
REORG: include: split hathreads into haproxy/thread.h and haproxy/thread-t.h
by Willy Tarreau
· Thu May 28 15:29:19 2020 +0200
4c7e4b7
REORG: include: update all files to use haproxy/api.h or api-t.h if needed
by Willy Tarreau
· Wed May 27 12:58:42 2020 +0200
03e7853
BUILD: remove obsolete support for -mregparm / USE_REGPARM
by Willy Tarreau
· Tue Feb 25 07:38:05 2020 +0100
93acfa2
MINOR: time: add timeofday_as_iso_us() to return instant time as ISO
by Willy Tarreau
· Thu Sep 26 08:00:23 2019 +0200
43091ed
BUG/MINOR: time: make sure only one thread sets global_now at boot
by Willy Tarreau
· Thu Jun 06 16:50:39 2019 +0200
81036f2
MINOR: time: move the cpu, mono, and idle time to thread_info
by Willy Tarreau
· Mon May 20 19:24:50 2019 +0200
a1bd1fa
BUILD: use inttypes.h instead of stdint.h
by Willy Tarreau
· Fri Mar 29 17:26:33 2019 +0100
cab0f0b
MEDIUM: time: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· Fri Mar 08 18:55:31 2019 +0100
609aad9
REORG: time/activity: move activity measurements to activity.{c,h}
by Willy Tarreau
· Thu Nov 22 08:31:09 2018 +0100
ed72d82
MEDIUM: time: measure the time stolen by other threads
by Willy Tarreau
· Wed Oct 17 19:01:24 2018 +0200
a331544
BUG/MINOR: time/threads: ensure the adjusted time is always correct
by Willy Tarreau
· Mon Feb 05 20:11:38 2018 +0100
9fefc51
BUG/MEDIUM: threads/time: maintain a common time reference between all threads
by Willy Tarreau
· Thu Nov 23 14:52:28 2017 +0100
7649aac
BUG/MEDIUM: threads/time: fix time drift correction
by Willy Tarreau
· Thu Nov 23 11:52:55 2017 +0100
99aad92
BUG/MAJOR: threads/time: Store the time deviation in an 64-bits integer
by Christopher Faulet
· Tue Oct 31 09:03:51 2017 +0100
9a65571
MEDIUM: threads/time: Many global variables from time.h are now thread-local
by Christopher Faulet
· Thu May 11 11:00:15 2017 +0200
351b3a1
CLEANUP: time: curr_sec_ms doesn't need to be exported
by Willy Tarreau
· Wed Mar 29 15:24:33 2017 +0200
eab777c
BUG/MINOR: time: frequency counters are not totally accurate
by Willy Tarreau
· Sat Dec 29 21:50:07 2012 +0100
421f5b5
MINOR: Date and time fonctions that don't use snprintf
by William Lallemand
· Mon Feb 06 18:15:57 2012 +0100
45a1251
[MEDIUM] poll: add a measurement of idle vs work time
by Willy Tarreau
· Sat Sep 10 16:56:42 2011 +0200
7559058
[MINOR] add curr_sec_ms and curr_sec_ms_scaled for current second.
by Willy Tarreau
· Thu Mar 05 14:54:50 2009 +0100
e6313a3
[MINOR] introduce now_ms, the current date in milliseconds
by Willy Tarreau
· Sun Jun 29 13:47:25 2008 +0200
b0b37bc
[MEDIUM] further improve monotonic clock by check forward jumps
by Willy Tarreau
· Mon Jun 23 14:00:57 2008 +0200
b7f694f
[MEDIUM] implement a monotonic internal clock
by Willy Tarreau
· Sun Jun 22 17:18:02 2008 +0200
c8f24f8
[BUILD] fix 2 minor issues on AIX
by Willy Tarreau
· Fri Nov 30 18:38:35 2007 +0100
8513094
[MEDIUM] stats: report server and backend cumulated downtime
by Krzysztof Oledzki
· Mon Oct 22 16:21:10 2007 +0200
0481c20
[MINOR] add new tv_* functions
by Willy Tarreau
· Sun May 13 16:03:27 2007 +0200
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· Sat May 12 22:35:00 2007 +0200
42aae5c
[MEDIUM] many cleanups in the time functions
by Willy Tarreau
· Sun Apr 29 17:43:56 2007 +0200
8d7d149
[MEDIUM] implement and use tv_cmp2_le instead of tv_cmp2_ms
by Willy Tarreau
· Sun Apr 29 10:50:43 2007 +0200
a6a6a93
[MAJOR] changed TV_ETERNITY to ~0 instead of 0
by Willy Tarreau
· Sat Apr 28 22:40:08 2007 +0200
5e8f066
[MINOR] slightly optimize time calculation for rbtree
by Willy Tarreau
· Mon Feb 12 00:59:08 2007 +0100
fb27867
[MEDIUM] use regparm on a few tv_* functions
by Willy Tarreau
· Sun Oct 15 15:38:50 2006 +0200
b17916e
[CLEANUP] add a few "const char *" where appropriate
by Willy Tarreau
· Sun Oct 15 15:17:57 2006 +0200
e3ba5f0
[CLEANUP] included common/version.h everywhere
by Willy Tarreau
· Thu Jun 29 18:54:54 2006 +0200
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· Thu Jun 29 17:53:05 2006 +0200
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· Mon Jun 26 02:48:02 2006 +0200