Skip to content
Snippets Groups Projects
Commit 5de59417 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: improve suspend/resume handling of Pstream profiling (#2737)

- allow reporting even when profiling is suspended

- consolidate reporting into profilingPstream itself
  (avoids code scatter).

Example of possible advanced use for timing only one section of
code:

    ====
    // Profile local operations
    profilingPstream::enable();

    ... do something

    // Don't profile elsewhere
    profilingPstream::suspend();
    ====
parent 9577a0f6
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment