RMA: ticks_since_last_period < ticks_executed_since_last_period

Joel Sherrill joel.sherrill at OARcorp.com
Wed Aug 26 02:03:40 UTC 2009


Federico Tula Rovaletti wrote:
> Hello, I'm using RTEMS 4.6.6. I have configured a number of tasks so 
> that I use the RMA manager for scheduling them.
>
> Since this version doesn't have the RMA reporter builtin, I programmed 
> one by my own.
It is there cpukit/libmisc/rtmonuse.  The newer version is just more 
tightly integrated
with the manager and has better names.
> The problem is that I have an strange behaviour. When I use 
> rtems_rate_monotonic_get_status() most of the time works as I 
> expected, but sometimes I get for some tasks 
> status->ticks_since_last_period < 
> status->ticks_executed_since_last_period but only with a difference of 
> 1 tick..
>
> I'd like know if this behaviour is normal due to a resolution clocks 
> problem or coul it evidence that something is not working properly.
>
> Thanks in advance
> Federico Tula Rovaletti




More information about the users mailing list