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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to