From 94694a810e752760ba18d1cf545c63ff3287092b Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sat, 2 Nov 2019 18:14:31 +0200 Subject: console,boot_state: Reformat state times output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For each boot_state, report the times spent interleaved with other console output and remove the samples arrays. The time spent to report the times to console is not accounted for. Change-Id: I0c847da98901c56b356b4a933d9ae865dada98b6 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/36584 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/console/printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/console') diff --git a/src/console/printk.c b/src/console/printk.c index b32fadb8b1..3ef28f32be 100644 --- a/src/console/printk.c +++ b/src/console/printk.c @@ -49,7 +49,7 @@ void console_time_report(void) if (!TRACK_CONSOLE_TIME) return; - printk(BIOS_DEBUG, "Accumulated console time in " ENV_STRING " %ld ms\n", + printk(BIOS_DEBUG, "BS: " ENV_STRING " times (exec / console): total (unknown) / %ld ms\n", DIV_ROUND_CLOSEST(console_usecs, USECS_PER_MSEC)); } -- cgit v1.2.3