Closed Bug 1350212 Opened 9 years ago Closed 9 years ago

Improve TickSample

Categories

(Core :: Gecko Profiler, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

Attachments

(1 file)

A follow-up to bug 1344169.
This patch does the following. - Renames TickSample's members to mFoo style. - Changes TickSample's constructor to set mTimeStamp. - Moves TickSample creation from SamplerThread::SuspendAndSampleAndResumeThread() to SamplerThread::Run(), so it's not repeated for each platform. - Changes TickSample::PopulateContext() so it takes a |tick_context_t*| parameter, which avoids having to cast from |void*|.
Attachment #8850851 - Flags: review?(jseward)
Comment on attachment 8850851 [details] [diff] [review] Improve TickSample Review of attachment 8850851 [details] [diff] [review]: ----------------------------------------------------------------- Another nice cleanup. Looks fine to me.
Attachment #8850851 - Flags: review?(jseward) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: