linux-mips
[Top] [All Lists]

about udelay in mips

To: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: about udelay in mips
From: loody <miloody@gmail.com>
Date: Thu, 13 Jan 2011 18:02:28 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=iu+mfZM4FaTgl1u0lI/UyCBoqiwcQfHq7a7wF2nOTn8=; b=KaI5Efy2kMJLx9T8mFFjybE7pQmf5BvsNWNWQzEF32LviJXh6fCNcxI6uUwg1XoD8u 8TeZMyd6jqkYmaIugkpQyig8RCl+BVYAygBi4d2dqtFfS0ng5xweQWGB+cNOeyJRLJLm yUDtRaDYp6rLPMbURa1wa9XiCIo2dzxutrByg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=lZM9lvoHOQwPMF8u8C/qAa6aBNjskywSzV3LZegUCDqr18GCWI1iuCmaTZ/fGNoY9f ej3Gx/lNzn3q0rGaOJVQJWNSTD8zL5ALj6WbabdWoTmvQ++BosGX6smxkKPd9J5g0xlI VOB6vYolU4sWdVTFaUjafS/1TUZorismvCu+g=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
hi all:
If i trace source in the correct place, I found udelay(100) is
implemented as a loop which decrease 1 per iteration until the count,
100, as 0.
What makes me confused is since the speed of cpus are different and
that will make udelay not precise on different platform, right?

-- 
Regards,
miloody

<Prev in Thread] Current Thread [Next in Thread>