David Farler via llvm-dev
2016-Nov-17 21:28 UTC
[llvm-dev] NamedRegionTimer - printing structured data, full nanosecond resolution values
Hi all, I'd like to output structured data for all of the gathered timers with the full nanosecond numbers to a file, say JSON for example. Does the timer infrastructure support this, or at least installing some custom print handlers? If not, does any of that sound like an interesting patch? David
Hal Finkel via llvm-dev
2016-Nov-18 18:28 UTC
[llvm-dev] NamedRegionTimer - printing structured data, full nanosecond resolution values
Hi David, Is what you're proposing similar to this: https://reviews.llvm.org/D25588 ? -Hal ----- Original Message -----> From: "David Farler via llvm-dev" <llvm-dev at lists.llvm.org> > To: llvm-dev at lists.llvm.org > Sent: Thursday, November 17, 2016 3:28:56 PM > Subject: [llvm-dev] NamedRegionTimer - printing structured data, full nanosecond resolution values > > Hi all, > > I'd like to output structured data for all of the gathered timers > with the full nanosecond numbers to a file, say JSON for example. > Does the timer infrastructure support this, or at least installing > some custom print handlers? If not, does any of that sound like an > interesting patch? > > David > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-- Hal Finkel Lead, Compiler Technology and Programming Languages Leadership Computing Facility Argonne National Laboratory
David Farler via llvm-dev
2016-Nov-18 21:31 UTC
[llvm-dev] NamedRegionTimer - printing structured data, full nanosecond resolution values
It certainly looks like it – what excellent timing! ;-) I will give it a spin. Thanks, Hal! David> On Nov 18, 2016, at 10:28 AM, Hal Finkel <hfinkel at anl.gov> wrote: > > Hi David, > > Is what you're proposing similar to this: https://reviews.llvm.org/D25588 ? > > -Hal > > ----- Original Message ----- >> From: "David Farler via llvm-dev" <llvm-dev at lists.llvm.org> >> To: llvm-dev at lists.llvm.org >> Sent: Thursday, November 17, 2016 3:28:56 PM >> Subject: [llvm-dev] NamedRegionTimer - printing structured data, full nanosecond resolution values >> >> Hi all, >> >> I'd like to output structured data for all of the gathered timers >> with the full nanosecond numbers to a file, say JSON for example. >> Does the timer infrastructure support this, or at least installing >> some custom print handlers? If not, does any of that sound like an >> interesting patch? >> >> David >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> > > -- > Hal Finkel > Lead, Compiler Technology and Programming Languages > Leadership Computing Facility > Argonne National Laboratory