summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-02 18:14:31 +0200
committerNico Huber <nico.h@gmx.de>2019-12-31 17:38:04 +0000
commit94694a810e752760ba18d1cf545c63ff3287092b (patch)
tree5fcb39ef4ce9ee77d8938847511b7b341b0a82d9 /src/console
parent99b075aa94e238fc459378ce9749214ac562621b (diff)
console,boot_state: Reformat state times output
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/printk.c2
1 files changed, 1 insertions, 1 deletions
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));
}