<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">printf("one tick has us %u\n", rtems_configuration_get_microseconds_per_tick());<br>    rtems_counter_ticks ticks = rtems_counter_nanoseconds_to_ticks(1000);<br>    printf("delay 1000ns ticks_cnt %u\n", ticks);</blockquote><div><br></div><div>one tick has us 1000<br>delay 1000ns ticks_cnt 1000</div><div><br></div><div>is 
rtems_counter_nanoseconds_to_ticks wrong?<br></div><div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2019 at 9:33 AM Jython <<a href="mailto:googcheng@gmail.com">googcheng@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">ok, thanks! i have read it, then im not sure CPU_Counter_ticks is system tick ?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 8, 2019 at 8:53 AM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/7/19 10:49 am, Jython wrote:<br>
> hi, the size of tick is |CONFIGURE_MICROSECONDS_PER_TICK| ?<br>
<br>
I suggest you take a moment and read the configuration section of the user<br>
manual. The tick entry is ...<br>
<br>
<a href="https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#configure-microseconds-per-tick" rel="noreferrer" target="_blank">https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#configure-microseconds-per-tick</a><br>
<br>
If this entry is not clear please let us know or even better send us a patch to<br>
the documentation.<br>
<br>
Thanks<br>
Chris<br>
</blockquote></div>
</blockquote></div>