Closed Bug 836872 Opened 11 years ago Closed 11 years ago

Use TimeStamp::NowLoRes() in nsAppShell

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: mayhemer, Assigned: mayhemer)

References

Details

Attachments

(1 file)

Attached patch v1Splinter Review
nsAppShell is checking for 1000ms time difference but is using hi-res TimeStamp::Now().  This is an ideal first candidate for using the NowLoRes() much faster function.

My checks to call of TimeStamp::Now() shows these are one of the most frequent consumers.
Attachment #708724 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/cc3b4a2c1968
Assignee: nobody → honzab.moz
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: