Counter vs Btimer for tmtests

Sebastian Huber sebastian.huber at
Wed Nov 7 18:00:39 UTC 2018

----- Am 7. Nov 2018 um 18:13 schrieb joel joel at

> Hi
> Do these report the same units?

Not necessarily.

> If not, there are only *tmtests which use rtems/counter.h and thus would be
> reporting numbers with different units than the btimer.

You can convert the counter value to nanoseconds:

This is used by some tests for the XML output which can be used to plot some graphs:

More information about the devel mailing list