diff options
author | Lin Huang <hl@rock-chips.com> | 2017-11-07 15:38:24 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-11-19 01:50:13 +0000 |
commit | da6b1bc9e26df88e1c7b841f72307dd4997e09a5 (patch) | |
tree | ea244c6c86b8d2af305322597ef69943fce85678 /src | |
parent | 241391841e3aac76bb1cca282a9ed7ba192827f3 (diff) | |
download | coreboot-da6b1bc9e26df88e1c7b841f72307dd4997e09a5.tar.xz |
include/timer.h: add NSECS_PER_SEC macro
Change-Id: I4367f84be5a4bd635b422b6e7cbdc9aa3ccfbf5c
Signed-off-by: Lin Huang <hl@rock-chips.com>
Reviewed-on: https://review.coreboot.org/22466
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/timer.h b/src/include/timer.h index 65ce9b4b79..49eae5ec40 100644 --- a/src/include/timer.h +++ b/src/include/timer.h @@ -15,6 +15,7 @@ #ifndef TIMER_H #define TIMER_H +#define NSECS_PER_SEC 1000000000 #define USECS_PER_SEC 1000000 #define MSECS_PER_SEC 1000 #define USECS_PER_MSEC (USECS_PER_SEC / MSECS_PER_SEC) |