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

Hi David,

Is what you're proposing similar to this: https://reviews.llvm.org/D25588 ?

-Hal

It certainly looks like it – what excellent timing! :wink: I will give it a spin. Thanks, Hal!

David