Closed Bug 1106048 Opened 10 years ago Closed 6 years ago

Negative uptime values in pings

Categories

(Toolkit :: Telemetry, defect, P4)

x86
macOS
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: rvitillo, Unassigned)

References

Details

(Whiteboard: [measurement:client])

In a sample dataset from Aurora I have noticed that nearly 1 every 1000 pings have a negative uptime value.
Blocks: 1105864
I see uptime (and TelemetryTimestamps etc.) using |new Date()| etc. - assuming broken or jumping client clocks, can the Date() implementation jump?

Avih mentioned that we actually have monotonic clock implementations, may we have to look into using them?
I have seen `let a = new Date(); f(); let b = new Date();` result in `b < a`, yes.
Priority: -- → P4
Whiteboard: [measurement:client]
We're planning to remove "uptime" in favour of "totalTime". See bug 1485695.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.