Re:gettimeofday() should never be used to measure time
by stestagg on Monday January 19, 2015 @05:59AM
(#8911327)
That's just not the point of this article.
Basically, my takeaway from this is: if you /can/ avoid the complexity, by dealing with absolute relative timings (if something takes 2 seconds, then it takes 2 seconds, even if one of them is a leap-second), then you /should/.
And the best way to do this is using the techniques mentioned in the article
Re:gettimeofday() should never be used to measure time
by thomashabets2 on Monday January 19, 2015 @07:58AM
(#8911683)
This is but one chapter of what could be a huge book on time programming, I agree.
But it is a self contained advice, that should be adhered to.
The miserable APIs are New Jersey/Worse-is-better answers to intractable problems.