[U-Boot] [PATCH] lib: time: Add microsecond timer
Marek Vasut
marek.vasut at gmail.com
Wed Oct 16 08:55:55 UTC 2019
On 10/16/19 3:30 AM, Simon Glass wrote:
> Hi Marek,
Hi,
> On Tue, 15 Oct 2019 at 14:43, Marek Vasut wrote:
>>
>> Add get_timer_us(), which is useful e.g. when we need higher
>> precision timestamps.
>
> Can we use timer_get_us()? It seems confusing to have two.
Nope, that one doesn't have the range (unsigned long vs. u64) and also
doesn't behave the same way as old get_timer(). I wanted something which
is similar, just for uS instead of mS.
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list