diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-04-29 22:31:51 -0500 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-01 07:13:43 +0200 |
commit | a421791db815fb2e2da9b1ce4bec78c97665b62f (patch) | |
tree | d44f172a8eabb60940a66a644e8dee0d3787d6c2 /src/include/time.h | |
parent | 001de1aeb00e604e4664659b831ca99d1a940d57 (diff) | |
download | coreboot-a421791db815fb2e2da9b1ce4bec78c97665b62f.tar.xz |
coreboot: introduce monotonic timer API
The notion of a monotonic timer is introduced. Along with it
are helper functions and other types for comparing times. This
is just the framework where it is the responsibility of the
chipset/board to provide the implementation of timer_monotonic_get().
The reason structs are used instead of native types is to allow
for future changes to the data structure without chaning all the
call sites.
Change-Id: Ie56b9ab9dedb0da69dea86ef87ca744004eb1ae3
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3152
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/time.h')
0 files changed, 0 insertions, 0 deletions