[U-Boot] [PATCH] lib: time: Add microsecond timer
Eugeniu Rosca
erosca at de.adit-jv.com
Wed Oct 16 17:11:12 UTC 2019
On Tue, Oct 15, 2019 at 10:43:41PM +0200, Marek Vasut wrote:
> Add get_timer_us(), which is useful e.g. when we need higher
> precision timestamps.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
FWIW, I agree with Simon that bootstage [1] can be an awesome tool for
profiling and boot time measurements. With a bit of instrumentation and
host-side scripting, it allows to produce accurate bootcharts like [2].
[1] https://patchwork.ozlabs.org/patch/1177393/#2281091
[2] https://i.ibb.co/mG6Xc1p/2019-10-16-190251.png
--
Best Regards,
Eugeniu
More information about the U-Boot
mailing list