coreboot-kgpe-d16/payloads/libpayload/libc
Gabe Black 125a6a22f8 libpayload: Add a timer_us() function.
This function returns the number of microseconds scaled from the number of raw
timer ticks. It accepts a base parameter which is subtracted from the current
time, which makes it easy to keep track of relative times.

Change-Id: I55f2f9e90c0e12cda430bbe88b044f12b0b563c8
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/179600
Reviewed-by: Ronald Minnich <rminnich@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 4dd549e18d170dbf918c5b4b11bbe1f4e99b6695)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6897
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2014-09-15 19:01:03 +02:00
..
Makefile.inc libpayload: Add a new "die" function to fatally signal programming errors. 2014-09-15 17:37:13 +02:00
args.c
console.c serial: Separate the serial hardware init and the serial console init. 2014-08-10 08:26:48 +02:00
ctype.c
die.c libpayload: Add a new "die" function to fatally signal programming errors. 2014-09-15 17:37:13 +02:00
exec.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
getopt_long.c
hexdump.c libpayload: hexdump.c: Change type of length argument to size_t 2014-08-10 08:30:07 +02:00
ipchecksum.c
lar.c
lib.c
malloc.c libpayload: dma_malloc: Prevent warm reboot problems and add debugging 2014-08-14 23:41:44 +02:00
memory.c
printf.c libpayload: fix size_t handling 2013-03-26 19:35:28 +01:00
qsort.c libpayload: Fix whitespace errors 2013-06-27 14:46:43 +02:00
rand.c
readline.c
string.c libpayload: Add strerror 2013-06-28 10:39:57 +02:00
strings.c
strlcpy.c
sysinfo.c
time.c libpayload: Add a timer_us() function. 2014-09-15 19:01:03 +02:00