05-04-2018, 05:10 AM
Hello,
I found that the system tick of HP Prime runs backwards 10ms sometimes, for example:
<code>
EXPORT main()
BEGIN
LOCAL lt:=TICKS(),tt;
WHILE 1 DO
tt:=TICKS();
IF tt<lt THEN
PRINT(lt+" "+tt);
END;
lt:=tt;
END;
END;
</code>
Then I get lots of tt=lt-10.
I found that the system tick of HP Prime runs backwards 10ms sometimes, for example:
<code>
EXPORT main()
BEGIN
LOCAL lt:=TICKS(),tt;
WHILE 1 DO
tt:=TICKS();
IF tt<lt THEN
PRINT(lt+" "+tt);
END;
lt:=tt;
END;
END;
</code>
Then I get lots of tt=lt-10.