Hello, I'm investigating into a cyclictest issue where it reports negative values just like this commit states: https://source.denx.de/Xenomai/xenomai/-/commit/3069a7bbc48559f4d2a6184d6159b771f193a4e9
Since I'm on Xenomai 3.1.2 the said commit is already included. But I have a hard time to understand what problem the commit actually fixes. Why is the old calculation wrong? PREEMPT_RT's rt-test does it the same way: https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/tree/src/include/rt-utils.h#n60 Except that it casts tv_secs/tv_nsecs to int first, which shouldn't make a difference. Thanks, //richard