On Mon, 2015-02-02 at 11:45 -0600, Joel Sherrill wrote:
> Hi
>
> Last week while teaching an RTEMS class, we looked at a SPARC BSP's
> get nanoseconds since last tick handler. They all follow this pattern:
>
> clicks = Read Counter
> if ( clock interrupt pending ) {
> cli
Hi
Last week while teaching an RTEMS class, we looked at a SPARC BSP's
get nanoseconds since last tick handler. They all follow this pattern:
clicks = Read Counter
if ( clock interrupt pending ) {
clicks = Read Counter;
time =(2 * time per tick) - (clicks);
} else {
t