
16 Oct
2019
16 Oct
'19
7:02 p.m.
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