mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-20 16:45:26 +08:00
Update README.md (#13)
This commit is contained in:
parent
b8feda3caa
commit
ab8bfc0188
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ func random_sample(duration, rate):
|
|||
return true
|
||||
```
|
||||
|
||||
In other words, if you set `rate` to `10.000` (the unit is nanoseconds), all blocking events lasting `10 µsec` or longer are captured. Additionally `10%` of events lasting `1 µsec` and `1%` of events lasting `1sec`, and so on, are captured as well.
|
||||
In other words, if you set `rate` to `10.000` (the unit is nanoseconds), all blocking events lasting `10 µsec` or longer are captured. Additionally `10%` of events lasting `1 µsec` and `1%` of events lasting `100 nanoseconds`, and so on, are captured as well.
|
||||
|
||||
### Block vs Mutex Profiler
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue