-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds tracing to both bounded and unbounded mpsc channels. Unbounded channels record the following state fields: tx: number of items sent through the channel rx: number of items received through the channel values: number of items currently held in the channel tx_handles: number of Sender handles for the channel rx_dropped: true if the Receiver has dropped Bounded channels record the same fields as above, with the addition of the static "capacity" field set to the channel buffer size.
- Loading branch information
Showing
3 changed files
with
427 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.