Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'thread' information available into the graph #9

Open
tarun27sh opened this issue Dec 8, 2017 · 0 comments
Open

Make 'thread' information available into the graph #9

tarun27sh opened this issue Dec 8, 2017 · 0 comments

Comments

@tarun27sh
Copy link
Owner

tarun27sh commented Dec 8, 2017

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

  1. 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.

  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant