[Chapel Merge] Implement completion counters

Branch: refs/heads/main
Revision: b3bf940
Author: jhh67
Link: Implement completion counters by jhh67 · Pull Request #18765 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18765 from jhh67/T2496

Implement completion counters

Allows completion counters to be used for libfabric events instead of completion queues.
Counters can be selectively enabled via environment variables for task transmits,
AM handler transmits, and AM handler receives.

Resolves Cray/chapel-private#2496 and closes Cray/chapel-private#2661.

[Reviewed by @gbtitus]

Modified Files:
M runtime/src/comm/ofi/comm-ofi.c

Compare: https://github.com/chapel-lang/chapel/compare/19cf449b2455...b3bf940112ef