skyline
skyline copied to clipboard
Consider using nanoseconds for internal time measurements
We currently use milliseconds for time measurements and store the measurements in floating point values. However, when we perform arithmetic on these values, they are susceptible to numerical error.
Our time measurements are precise to the nanosecond. So we should consider using nanoseconds instead, and storing the measurements in integers.