Closed Bug 1487109 Opened 6 years ago Closed 6 years ago

use a more portable idiom for pausing in SamplerThread::SleepMicro

Categories

(Core :: Gecko Profiler, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

YieldProcessor() is just _mm_pause in disguise, but it works on more
platforms than the Intel-specific intrinsic.
Attachment #9004897 - Flags: review?(mstange) → review+
Pushed by nfroyd@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b7248bb3f017
use a more portable idiom for pausing in SamplerThread::SleepMicro; r=mstange
https://hg.mozilla.org/mozilla-central/rev/b7248bb3f017
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: