Help, VERY, VERY strange RTEMS execution time...
Alex
kbyte at iol.pt
Mon Mar 14 11:03:12 UTC 2005
Hi all,
I am trying to measure execution time of the clock_getres() POSIX fucntion.
To archive that I made the following rtems posix program:
Do 10 times
get ticks using RDTSC
call clock_getres fucntion
get ticks using RDTSC
calc the execution time
store it in an array
end do
write array to FAT file
end
Then I run the program in a i686 computer, with cache desabled, I got the
following values (in ticks units):
461
54
56
56
56
54
56
56
56
56
My question is:
Why the first value is diferent from the others? Where is determinism?
Cache is desabled and I also strip the executable but I can't understand that value...
Any sugestions?
Thanks,
Alex
______________________________________________________________________
Novo Servico IOL Dicionarios. 13 Linguas diferentes!
Saiba mais - http://www.iol.pt/correio/rodape.php?dst=0501251
More information about the users
mailing list