coreboot/payloads/libpayload/libc
Gabe Black 4dd549e18d 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.

BUG=None
TEST=With a corresponding change in depthcharge, built and booted on link.
BRANCH=None

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>
2013-12-17 04:26:45 +00:00
..
args.c
console.c serial: Separate the serial hardware init and the serial console init. 2013-12-13 17:14:40 +00:00
ctype.c
die.c libpayload: Add a new "die" function to fatally signal programming errors. 2013-11-27 01:46:00 +00:00
exec.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2013-08-14 17:05:33 -07:00
getopt_long.c
hexdump.c libpayload: Add simple hexdump function 2013-07-30 17:08:46 -07:00
ipchecksum.c
lar.c Refactor the endianness conversion functions and header files. 2012-11-08 19:49:51 +01:00
lib.c
Makefile.inc libpayload: Add a new "die" function to fatally signal programming errors. 2013-11-27 01:46:00 +00:00
malloc.c libpayload: dma_malloc: Prevent warm reboot problems and add debugging 2013-09-17 03:22:09 +00:00
memory.c libpayload: make functions static that are unused outside memory.c 2013-02-15 06:51:17 +01:00
printf.c libpayload: fix size_t handling 2013-03-26 19:35:28 +01:00
qsort.c
rand.c
readline.c
string.c
strings.c
strlcpy.c
sysinfo.c
time.c libpayload: Add a timer_us() function. 2013-12-17 04:26:45 +00:00