This is an archive of the discontinued LLVM Phabricator instance.

[profile] Support dynamically allocated counters
AbandonedPublic

Authored by phosek on Oct 31 2019, 8:35 PM.

Details

Reviewers
davidxl
vsk
Summary

Rather than allocating counter statically at compile time, it's the
responsiblity of the profile runtime to allocate them at run time
by mmapping the profile and updating all the pointers. This allows
writing counters on-the-fly rather than at exit.

See discussion on "D68351: [profile] Add a mode to continuously sync
counter updates to a file" for more details.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Oct 31 2019, 8:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 31 2019, 8:35 PM
phosek retitled this revision from Support dynamically allocated counters to [profile] Support dynamically allocated counters.Oct 31 2019, 8:35 PM
phosek updated this revision to Diff 227394.Oct 31 2019, 8:49 PM
phosek abandoned this revision.Nov 15 2019, 3:01 PM

Abandoned in favor of D69740.