Questions about TinyOS shouldn't be sent to the nescc-bugs list.
--- Begin Message ---
Hello All
I've been working on using the _gettime32() function call of SysTimeC
component
Howerever i was surprised to see that beyond a certain point the time values
started flipping to a small value suddenly after a certain point, instead
of steadily increasing
attached above is the code i worked on
For a simple multiplication operation , the highest time value up to which
it increases and the low value it flips to , immediately in the next step
have been the same so far when the experiment was repeated at different
points and at different ranges of values
They are :
high point : 017FFB
low point : 8002 (time read in the immediately next higher
value of loop count)
The difference between the two is always FFF9 no matter which range of
values we choose to test ( again it might be for the multiplication alone)
ofcourse , it can be a higher/lower point than this one also which could've
been lost in the middle of an integral multiplication operation
what is interesting to note is that this flip of values happens after almost
regular intervals of time i.e FFF9 in decimal as 65529 when added to the
previous flip value approximately leads us to the next flip value around
which we need to test for the next flip
also the decreased values steadily increase after that point to reach the
same maximum after which it flips again
The following are the results that you might want to look at :
timeb , the time tested before the variant for-loop is a constant 1992E
for all the given below data points
timea , the initial time is also the same here
j value (for controlling the timer loop )
timec
3413
017FFB
3414
8002
68949
017FFB
68950
8002
134485
017FFB
134486
8002
200021
017FFB
200022
8002
Does anyone have an idea about what this is and how it can be dealt with ?
Awaiting your suggestions
Sincerely
Bhuvana
TestbitflipM.nc
Description: Cdf file
Testbitflip.nc
Description: Cdf file
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nescc-bugs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nescc-bugs
--- End Message ---
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help