Skip to content

Longest running function is not neccessarily a root #9

@asodeur

Description

@asodeur

Currently the longest running function (cumulative time) is always added to the roots even when it got parents. This case can occur when profiling threaded/async code with wall time. A function running in parallel can run longer than main.

Using the longest running function as root should be a fallback only when there are no functions without parents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions