New commits:
commit 81ebc1fca608a40ccefe551a93801d74353fe7e2
Merge: 21fce52807 885efb0b0c
Author: Andrew Cagney <[email protected]>
Date: Mon Oct 20 12:33:23 2025 -0400
Merge deltatime: add human friendly and scaled log functions
jam_deltatime_scaled(UNIT), converts deltatime to UNIT, before
logging. Using this fixes retransmit-interval=1.5ms, where:
retransmit-interval: 1ms
is fixed, and becomes:
retransmit-interva; 1.5ms
jam_deltatime_human(), converts deltatime to SECONDS, MINUTES, ...
and then logs. For instance:
will wait 1 seconds
becomes will wait 1 second
and:
will wait 3600 seconds
becomes will wait 1 hour
Note that this doesn't use sub-second units for instance:
will wait 350 milliseconds
is still will wait 0.35 seconds
as micro/milli seemed unnatural
commit 885efb0b0c575cfe31f246d20308999076a909cf
Author: Andrew Cagney <[email protected]>
Date: Mon Oct 20 12:30:32 2025 -0400
ipsec connectionstatus: use jam_deltatime_scaled(MILLISECONDS)
... for retransmit-interval; replace "%ju" which truncates
small values.
commit 891581c1b6431fc6ed302c9aef5aba7e8ac1f190
Author: Andrew Cagney <[email protected]>
Date: Sun Oct 19 22:04:48 2025 -0400
testing: expect 'will wait 1 second for response'
and not 'will wait 1 seconds for response'
commit 57f89c4ab3d29ad6c1fe7ff11a322f1fd82f09c2
Author: Andrew Cagney <[email protected]>
Date: Sun Oct 19 13:38:10 2025 -0400
retransmits: use jam_deltatime_human(next retransmit)
commit 244d20c118b9d4707eddd24baa39cbb92c662bdb
Author: Andrew Cagney <[email protected]>
Date: Fri Oct 17 17:40:50 2025 -0400
time: add jam_deltatime_human() and jam_deltatime_scaled()
along with jam_intmax_human() and jam_intmax_scaled()
jam_deltatime_human() displays the deltatime in a hopefully
more friendly format. For instance, "3600 seconds" becomes "1 hour".
The smallest human unit is seconds; milliseconds and microseconds
are considered inhuman.
jam_deltatime_scaled() displays the deltatime in the specified
unit (scale). For instance, "0.0001" (seconds) can be forced to
millyseconds and displayed as "0.1" (milliseconds).
commit 73d249908afeac281f95e7dda4d20f3f511149cb
Author: Andrew Cagney <[email protected]>
Date: Sun Oct 19 11:23:21 2025 -0400
testing: update deltatime messages
commit 6bcd93e9661f8a8744514a485a724ae1a4c9c891
Author: Andrew Cagney <[email protected]>
Date: Sat Oct 18 17:23:47 2025 -0400
deltatime: recognize human friendly suffixes like "1 second"
_______________________________________________
Swan-commit mailing list -- [email protected]
To unsubscribe send an email to [email protected]