Results 1 to 1 of 1
hi,
iam having one doubt regarding delay time.
ex. code
count=0;
while(count!=1200 || c!=18 )
{
usleep(100);
read(fd,&c,1);
count++;
}
when i run this code PIV processor(RHEL 2.6.9).it taking delay ...
- 06-27-2007 #1Just Joined!
- Join Date
- Nov 2006
- Location
- Hyderabad
- Posts
- 85
how to calculate delay time
hi,
iam having one doubt regarding delay time.
ex. code
count=0;
while(count!=1200 || c!=18 )
{
usleep(100);
read(fd,&c,1);
count++;
}
when i run this code PIV processor(RHEL 2.6.9).it taking delay of some 3 to 4 secs.
the same code when i run it on ARM processor(speed 200MHZ);kernal 2.4.18
it is taking nearly 24 to 25.
could anybody tell me how to calculate timing issues.
any help would be appreciated.
thanx in advs.


Reply With Quote