Closed Bug 507858 Opened 15 years ago Closed 3 years ago

Cleanup the Windows NT Date.now implementation

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: robarnold, Unassigned)

References

(Depends on 1 open bug)

Details

We can use the multimedia timer when on AC. Calling timeBeginTime gives us 1ms resolution but does increase the power draw. This should avoid the fun that is QueryPerformanceCounter. When on battery we can fall back to the existing QPC implementation.
Assignee: general → nobody

Bug 1004923 has improved the situation dramatically. Older Windows versions are unlikely to get prioritised anymore, therefore closing this bug as WONTFIX.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.