> udelay(3000) 540000 > > The difference between the first invocation and successive might be a problem. > I don't know what the expected accuracy is. > If +- 10% is ok, we are there. Its generally good enough. Certainly on PC type hardware which is sloppy anyway If its ever an issue just bump the estimate by 10% on all udelays to be sure 8)