T
T
TERMIK2013-11-05 12:56:02
Counts
TERMIK, 2013-11-05 12:56:02

Code visualization for parallel programming?

Gentlemen, habravchane, please help with this question: tell me some software tools for code visualization, namely, for building a tiered-parallel form of a code graph, if any.
Simply, the project got caught: parallelizing a large project written earlier in C ++, and understanding the code (a little more than 1MB of code) without graphs is quite difficult and you need to somehow trace the informational dependencies.
If who faced, help. Maybe I went down the wrong path?
Best regards to all and thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Moseychuk, 2013-11-05
@fshp

Maybe doxygen+graphviz?

M
m08pvv, 2013-11-05
@m08pvv

In general, there are parallelizing compilers for such tasks (the so-called automatic parallelization). With such a large amount of code, it is more logical to try to play around with the compiler and its flags responsible for parallelization. Well, if you need to parallelize as much as possible, then you need to carry out a bunch of refactoring and select subtasks for which to check whether it is optimally implemented from the point of view of parallelism and if not, then change the algorithms.
In general, automatic parallelization often gives a result that can be satisfied.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question