coreboot/src
Raul E Rangel fae525f547 lib/thread: Start stopwatch after printk
We are currently counting how long it takes to print the waiting
message, in addition to the actual time we spent waiting. This results
in inflating the measurement by 1.7ms when the serial console is
enabled. This CL makes it so the print happens before the stopwatch
starts.

BUG=b:179699789
TEST=No longer see printk time taken into account on serial console

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: Ib48e37c1b2cb462d634141bf767673936aa2dd26
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58960
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Rob Barnes <robbarnes@google.com>
2021-11-10 21:17:28 +00:00
..
acpi Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
arch Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
commonlib drivers/intel/fsp2_0: Allow FSP-M to be relocated 2021-11-08 19:58:46 +00:00
console src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
cpu cpu/intel: Use unsigned types in get_cpu_count() 2021-11-05 15:30:34 +00:00
device Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
drivers Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
ec ChromeOS: Fix <vc/google/chromeos/chromeos.h> 2021-11-09 00:14:46 +00:00
include Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
lib lib/thread: Start stopwatch after printk 2021-11-10 21:17:28 +00:00
mainboard Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
northbridge Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
security Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
soc Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
southbridge sb/intel: Replace bad uses of find_resource 2021-11-04 17:32:06 +00:00
superio superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
vendorcode Rename ECAM-specific MMCONF Kconfigs 2021-11-10 17:24:16 +00:00
Kconfig src/lib: Add FW_CONFIG_SOURCE_VPD 2021-11-08 14:48:05 +00:00