Open Bug 1948866 Opened 8 days ago Updated 1 day ago

Switch Glean to AwakeTimeStamp mostly

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: padenot, Unassigned)

References

(Depends on 1 open bug)

Details

Gecko's TimeStamp is unsuitable for any kind of metric (or most things really), because depending on the platform it can or not count time ticking during which the device was in suspended state.

AwakeTimeStamp is what we should use instead. For now in https://bugzilla.mozilla.org/show_bug.cgi?id=1709767 we're moving lots of code to do the right thing, but converting AwakeTimeStamp to a TimeStamp at API boundary to avoid a ripple effect into the entirety of Gecko.

It will be necessary to fix things properly all the way, though.

Depends on: 1709767
Component: Glean Platform → Glean: SDK
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.