[PATCH] D46603: [Support] TimerGroup changes

2018-05-16 Thread George Karpenkov via Phabricator via cfe-commits
george.karpenkov added a comment. > Not sure yet whether i will land them right away, or wait for clang-tidy part. I think it's better to land, as otherwise you risk merge conflicts, and implicit conflicts (git reports no errors, but the resulting code is bad) can be very annoying. Repository

[PATCH] D46603: [Support] TimerGroup changes

2018-05-16 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri added a comment. In https://reviews.llvm.org/D46603#1101047, @lebedev.ri wrote: > In https://reviews.llvm.org/D46603#1100455, @george.karpenkov wrote: > > > I see four separate changes: s/.sys/mem one (can be committed without > > review), exposing printJSONValues and consequent addin

[PATCH] D46603: [Support] TimerGroup changes

2018-05-16 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri abandoned this revision. lebedev.ri added a comment. In https://reviews.llvm.org/D46603#1100455, @george.karpenkov wrote: > I see four separate changes: s/.sys/mem one (can be committed without > review), exposing printJSONValues and consequent adding of a lock, adding a > constructo

[PATCH] D46603: [Support] TimerGroup changes

2018-05-15 Thread George Karpenkov via Phabricator via cfe-commits
george.karpenkov added a comment. I see four separate changes: s/.sys/mem one (can be committed without review), exposing printJSONValues and consequent adding of a lock, adding a constructor accepting a map, and fixing formatting in `printJSONValue`. All four look good to me, but probably shou

[PATCH] D46603: [Support] TimerGroup changes

2018-05-15 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri added a comment. Ping. Any thoughts on these Timer changes? Repository: rL LLVM https://reviews.llvm.org/D46603 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D46603: [Support] TimerGroup changes

2018-05-09 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri updated this revision to Diff 145994. lebedev.ri added a comment. - Use sane (not the same as the one right before..) suffix for when json-printing mem usage. Admittedly, i haven't tried it, but it just does not make sense otherwise. Repository: rL LLVM https://reviews.llvm.org/D

[PATCH] D46603: [Support] TimerGroup changes

2018-05-09 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh added a comment. I wonder why JSON? What kind of a tool do folks use to process the outputs of printJSONValue? Is there anything existing or is JSON used "just in case"? I personally use either spreadsheets, python or shell when I deal with this kind of data, and all three of them can wo

[PATCH] D46603: [Support] TimerGroup changes

2018-05-09 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri updated this revision to Diff 145903. lebedev.ri added a comment. Add lock to now-public `printJSONValues()`. I have no understanding of the `static TimerGroupList`, but this is symmetrical with other [public] `TimerGroup::*print*` methods. Repository: rL LLVM https://reviews.llvm

[PATCH] D46603: [Support] TimerGroup changes

2018-05-09 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri updated this revision to Diff 145900. lebedev.ri retitled this revision from "[Support] Print TimeRecord as CSV" to "[Support] TimerGroup changes". lebedev.ri edited the summary of this revision. lebedev.ri added a reviewer: NoQ. lebedev.ri added subscribers: xazax.hun, szepet, a.sidori