CLOCK_MONOTONIC issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

in order both to profile the performance of my rt threads, and to perform timed operations (such as sem_timedwait), I'm using the clock_gettime() function.

Using as a parameter CLOCK_REALTIME everything appears to work as expected, but if I attempt to use CLOCK_MONOTONIC (which should be a more reliable timing source, from what I read), I get bogus times.

This occurs on different platforms, and with different kernel versions/rt patch. (3.10.10-rt7 - 3.10.67-rt71 - 3.12.31-rt45).

Am I missing something obvious, such as a kernel misconfiguration, or this is something to be expected?

Any hint will be appreciated.

Thanks in advance,

Giuliano

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux