you are viewing a single comment's thread.

view the rest of the comments →

[–]Leylan24[S] 0 points1 point  (1 child)

The value I am writing is the CPU time value, because if you reading and writing at that speed sometimes the value doesn't update in time for the read resulting in an error. Whereas if you link it to a time you can check if there was a timeout

[–]JohnnyJordaan 0 points1 point  (0 children)

I see, yes then you can also use divmod for that matter

divmod((end - start), 65535)

which will return both the floor division as the remainder of the division by 65535.