[U-Boot] the result of get_timer(0) or get_ticks() does not change

4 Jan
2009
4 Jan
'09
10:06 a.m.
Hi all,
I change some codes in u boot, and I want to calculate the time So I write codes like follows: Ulong begin = get_ticks(); for (i = 0; i < 100; i ++) { udelay(1000); } Ulong end = get_ticks();
But the value of begin and end are always same? I also tried get_timer(0).
Does anyone have uncounted this problem?
Thanks
5966
Age (days ago)
5966
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lance Zhang