Searched hist:f24869d3a8f6646c2d207057719e6fa0a8f31eb0 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/arch/arm/cpu/armv7/s5p-common/ |
| H A D | timer.c | f24869d3a8f6646c2d207057719e6fa0a8f31eb0 Thu Mar 28 04:32:17 UTC 2013 Che-Liang Chiou <clchiou@chromium.org> Exynos: Add timer_get_us function
timer_get_us returns the time in microseconds since a certain reference point of history. However, it does not guarantee to return an accurate time after a long period; instead, it wraps around (that is, the reference point is reset to some other point of history) after some periods. The frequency of wrapping around is about an hour (or 2^32 microseconds).
Test with command "sf probe 1:0; time sf read 40008000 0 1000". Try with different numbers of bytes and see that sane values are obtained
Signed-off-by: Che-Liang Chiou <clchiou@chromium.org> Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
|