S
Steve Wilkinson
We are currently running the Compact Framework V1 on a
CE.NET 4.2 platform. The platform has all of the latest
QFE's applied.
We have noticed odd behaviour with
System.Environment.TickCount. We have a thread which
loops continuously, sleeping for 100ms on every
itteration of the loop. Inside this loop
System.Environment.TickCount is called and its value is
recorded. Normally we see the tick count value
incrementing by approximately 100 on each pass, however
at random intervals the tick count value increments by a
massive amount. We have left this routine on soak test
over night and have found that the tick count value will
generally jump 3 times during the night. The amount of
the jump is equivalent to about 19 minutes of time.
According to the CE.NET API, the GetTickCount() function
which I presume System.Environment.Tick wraps, will
eventually rollover approximatly once every 24 days.
However the values we are getting are nowhere near the
uint limit.
What is going on here ?
Regards
Steve
CE.NET 4.2 platform. The platform has all of the latest
QFE's applied.
We have noticed odd behaviour with
System.Environment.TickCount. We have a thread which
loops continuously, sleeping for 100ms on every
itteration of the loop. Inside this loop
System.Environment.TickCount is called and its value is
recorded. Normally we see the tick count value
incrementing by approximately 100 on each pass, however
at random intervals the tick count value increments by a
massive amount. We have left this routine on soak test
over night and have found that the tick count value will
generally jump 3 times during the night. The amount of
the jump is equivalent to about 19 minutes of time.
According to the CE.NET API, the GetTickCount() function
which I presume System.Environment.Tick wraps, will
eventually rollover approximatly once every 24 days.
However the values we are getting are nowhere near the
uint limit.
What is going on here ?
Regards
Steve