
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