Patch Set 5:

Those are 2 different things:
1) osmo_gettimeofday() used inside libosmocore for elapsed time computations in 
osmo_timers_*()
2) osmo_gettimeofday() used externally for elapsed time computations

Those are pretty-much independent. The main difference is that corresponding 
"struct timeval" is internal parameter in 1) and managed by caller in 2). 
Because of that moving to monotonic time in 1) won't help with 2) - we still 
have to go and manually change it. Similarly, moving 2) to monotonic time won't 
affect 1) at all.

This patch series address case 2) only. The 1) is more intrusive because it's 
also used to mock time in tests.

-- 
To view, visit https://gerrit.osmocom.org/5104
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib6949601a80747f0de1a05e0790a1bace209efbf
Gerrit-PatchSet: 5
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <[email protected]>
Gerrit-HasComments: No

Reply via email to