[U-Boot] [PATCH] lib: time: Add microsecond timer

Marek Vasut marek.vasut at gmail.com
Wed Oct 16 17:02:01 UTC 2019

On 10/16/19 6:58 PM, Simon Glass wrote:
>>> Have you tried bootstage?
>> What for ? I need to debug the EHCI driver performance across the EHCI
>> driver and USB storage implementation. Bootstage is not helpful here.
> It can track the time spent in particular parts of the code,
> accumulating it over multiple calls, etc. E.g. how much is FS, how
> much is driver, how much is waiting for replies...

And how much overhead does it add compared to calling get_timer{,_us}()
directly ? It was about uSecs in this case, so this was the best approach.

Best regards,
Marek Vasut

More information about the U-Boot mailing list