Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow generating a map of section nesting in debug builds #5279

Merged
merged 1 commit into from
May 16, 2024

Conversation

lutter
Copy link
Collaborator

@lutter lutter commented Mar 13, 2024

With this PR, debug builds (and only debug builds) pay attention to an environment variable GRAPH_SECTION_MAP which will make it print a list of the parent/child relations of stopwatch sections. That can then be turned into an image, e.g. with dot to visualize the nesting.

sections

@lutter lutter force-pushed the lutter/stopwatch branch from 93d0d80 to 7ba05d8 Compare March 13, 2024 23:23
@fordN fordN requested a review from zorancv May 14, 2024 15:58
Copy link
Contributor

@zorancv zorancv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works on my machine.

@lutter lutter force-pushed the lutter/stopwatch branch from 7ba05d8 to 73c1de1 Compare May 16, 2024 17:56
@lutter lutter merged commit 73c1de1 into master May 16, 2024
7 checks passed
@lutter lutter deleted the lutter/stopwatch branch May 16, 2024 18:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants