-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show number of runnable/total goroutines
This commit adds a rudimentary graph for the total and runnable goroutine counts. It only calculates the metric point once every 1<<20 nanoseconds, so about once every 1 millisecond. Other than being a power of two so that we don't need division, this is is an arbitrary choice, I haven't checked the performance impact if the value would be different.
- Loading branch information
1 parent
c167bd1
commit 2c512c3
Showing
3 changed files
with
122 additions
and
13 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
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
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