easy_profiler icon indicating copy to clipboard operation
easy_profiler copied to clipboard

Viewing multiple .prof files simultaneously

Open babrodtk opened this issue 5 years ago • 2 comments

I am working with a parallel MPI code, and it would be really useful to be able to see multiple files in the same view.

My use case scenario is that each process (or thread for that matter) keeps track of it's own profiling metrics, and writes that to separate files, one per parallel thread of execution. I would very much like to see these in the same view with the same timeline. Is that possible to do today, or something that would be possible to support? It looks to me as if a lot of the components required are already there.

babrodtk avatar Mar 22 '19 14:03 babrodtk

Hi @babrodtk
No, it's not possible to view several .prof files in the same view (you can launch several instances of profiler itself though).
You have to profile all threads in one session and save them to the same .prof file (or get data via network).
I think it is possible to create a tool for merging several .prof files, but that's not gonna be easy.
.prof file format is documented here if you want to try it by yourself right now... :-)

cas4ey avatar Mar 28 '19 17:03 cas4ey

Nice documentation, thanks!

babrodtk avatar Apr 29 '19 12:04 babrodtk