Masahiro Yamada | a7b8176 | 2016-12-28 00:36:00 +0900 | [diff] [blame^] | 1 | /* |
2 | * SPDX-License-Identifier: GPL-2.0+ | ||||
3 | */ | ||||
4 | |||||
5 | #ifndef _TIME_H | ||||
6 | #define _TIME_H | ||||
7 | |||||
8 | unsigned long get_timer(unsigned long base); | ||||
9 | |||||
10 | /* | ||||
11 | * Return the current value of a monotonically increasing microsecond timer. | ||||
12 | * Granularity may be larger than 1us if hardware does not support this. | ||||
13 | */ | ||||
14 | unsigned long timer_get_us(void); | ||||
15 | |||||
16 | #endif /* _TIME_H */ |