Closed Bug 1685502 Opened 5 years ago Closed 4 years ago

Add a timestamp/duration class pair that only ticks when the computer is awake

Categories

(Toolkit :: Telemetry, defect)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: padenot, Assigned: padenot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Using TimeStamp to count time for telemetry purposes doesn't work, because the timer used can tick when the computer is asleep (on Windows, particularly), and this skews the measurement.

We can use the same system calls as bug 1684925.

Blocks: 1685503
Attachment #9195875 - Attachment description: Bug 1685502 - Add a timestamp/duration class pair that only ticks when the computer is awake, on all platforms. → Bug 1685502 - Add a timestamp/duration class pair that only ticks when the computer is awake, on all platforms. r?gsvelto,glandium
Blocks: 1678373
Blocks: 1702485
See Also: → 1702521
Attachment #9195875 - Attachment description: Bug 1685502 - Add a timestamp/duration class pair that only ticks when the computer is awake, on all platforms. r?gsvelto,glandium → Bug 1685502 - Add a timestamp/duration class pair that only ticks when the computer is awake, on all platforms. r?gsvelto
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0df7529f24be Add a timestamp/duration class pair that only ticks when the computer is awake, on all platforms. r=gsvelto
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
See Also: → 1709767
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: