Open khuck opened 4 years ago
This can be potentially achieved by supplying your own counter discoverer function. I'll try to put together an example demonstrating its use for delayed counter registration.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
The current HPX counter interface expects that all counters are registered during HPX initialization. However, in order for APEX to share counters with HPX, APEX won't register the counter until the first time it is sampled (APEX doesn't know about it's existence before then). Registering and measuring the counter is fine, but there's no way to request the counter on the command line because the counter names have to match at program startup.
Actual Behavior
Would like to be able to run:
...and have HPX print counters that were registered after startup be printed at exit.
Steps to Reproduce the Problem
... Please be as specific as possible while describing how to reproduce your problem.
Specifications
... Please describe your environment