projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: time: Add microsecond timer
[oweals/u-boot.git]
/
include
/
time.h
diff --git
a/include/time.h
b/include/time.h
index 1e9b369be7cb029f0eafa6ad9180affe73b36b6e..a1149522edf0381a8d2ca3f09e3657da25c9a5a1 100644
(file)
--- a/
include/time.h
+++ b/
include/time.h
@@
-13,6
+13,7
@@
unsigned long get_timer(unsigned long base);
* Granularity may be larger than 1us if hardware does not support this.
*/
unsigned long timer_get_us(void);
+uint64_t get_timer_us(uint64_t base);
/*
* timer_test_add_offset()