Page MenuHomePhabricator

Tidy-ups to TimeProfiler.cpp [NFC]
ClosedPublic

Authored by russell.gallop on Dec 2 2019, 7:04 AM.

Details

Summary

This patch has a few changes to the time trace profiler which I made working towards implementing LLD time-trace (https://reviews.llvm.org/D69043). Not strictly required, just small tidying up changes. Putting as separate patch to avoid the main patch being too big.

Remove unused include
Make member variables const where possible
Move initialisation to initializer list

Should be NFC.

Diff Detail

Event Timeline

russell.gallop created this revision.Dec 2 2019, 7:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2019, 7:04 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
anton-afanasyev accepted this revision.Dec 2 2019, 9:39 AM
This revision is now accepted and ready to land.Dec 2 2019, 9:39 AM
This revision was automatically updated to reflect the committed changes.