Make 'thread' information available into the graph
tarun27sh opened this issue · 0 comments
tarun27sh commented
Some way to differentiate functions based on threads.
This will highlight any specific code which is run by only one thread or run by multiple.
Options
-
Allocate a unique color for each thread.
Pros: Good way to see what each thread is doing
Cons: For large number of threads, and some threads calling common code, it'll become messy. -
Per function, track no_of_threads calling this function, keep a counter.
And when displaying, assign weights to node size based on this counter.
Check out D3 & Gephi for visualization