Skip to content

Ensure Times Are Closed in Case of Early Exit #188

@nicholas-mainardi

Description

@nicholas-mainardi

Some computationally intensive operations rely on the start_timer/end_timer macros to print the execution time employed for such operations. Nonetheless, if an error occurs, such operations might end before calling the end_timer macro, which would leave side effects on the state of the macro, which might affect how the timings of other profiled operations run concurrently are displayed. Therefore, we would need to check each instance of start_timer to ensure that end_timer is always called for any possible execution flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions