Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana committed Nov 29, 2024
1 parent c7b6e03 commit 35a0aa4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metric/cpu/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ type option struct {

type OptionFunc func(*option)

// Note: WithPerformanceCounter option is only effective for windows and is ineffective if used by other OS'.
func WithPerformanceCounter() OptionFunc {
return func(o *option) {
o.usePerformanceCounter = true
Expand Down

0 comments on commit 35a0aa4

Please sign in to comment.