I am able to trace my application and generate GraphML files, but unable to load the GraphML file into Flow Graph Analyzer 2019 1.1.17873
I am able to load the sample files.
Comparing the sample files and my own I can see that my own GraphML file does not contain a graph element, which I find suspicious. The graphml version attribute is version="2019.1.1.17871".
I am build TBB from source, using tag 2019_U3, and linking against tbb_preview
Any tips on how I can debug this further?
I originally had this in my root CMakeLists.txt:
Adding these too fixed it:
Most important is TBB_USE_THREADING_TOOLS I think,
Apologies for the delayed response, but it appears like your GraphML file didn't get generated correctly. Last week, Update 4 for release that has better support for easier data collection, so could you try the new update and see if things work out of the box?
Also, starting with Update2/3, you don't have to link with the tbb_preview library if you are trying to analyze your application. The only time you may want to link with the tbb_preview library is when you are using user events described in the User Guide.
A glitch in the forum didn't show me your second response - I'm glad you are able to collect data and interact with it. I'll re-iterate what I stated in my previous response with more details- starting with Update 2, flow graph analyzer has started relying on the compile time flag -DTBB_USE_THREADING_TOOLS to enable the telemetry information from the runtime/compiled application. The -DTBB_PREVIEW_ALGORITHM_TRACE flags is no longer needed as the instrumentation for all TBB algorithms have been enabled by default in the TBB runtime. The use of the -DTBB_PREVIEW_FLOW_GRAPH_TRACE however is still valid and can be used to: