Skip to content

[dotnet-trace] Correct thread sampling frequency description - #6108

Merged
mdh1418 merged 3 commits into
dotnet:mainfrom
mdh1418:mdh1418-sampling-frequency-correction
Oct 16, 2026
Merged

mdh1418 merged 3 commits into
dotnet:mainfrom
mdh1418:mdh1418-sampling-frequency-correction

Conversation

@mdh1418

@mdh1418 mdh1418 commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Describe the threaded EventPipe default as 1000 Hz / 1 ms without changing sampling behavior.

Corresponding Docs PR dotnet/docs#56402

Describe the threaded EventPipe default as 1000 Hz / 1 ms without changing sampling behavior.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: d6960f81-0836-4d42-8d44-242452a8d1fb
@mdh1418
mdh1418 requested a review from a team as a code owner October 13, 2026 17:04
@hoyosjs

hoyosjs commented Oct 13, 2026

Copy link
Copy Markdown
Member

What's the intended clarification here? Samples every 1ms or at 100Hz frequency seem simpler.

@mdh1418

mdh1418 commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

I had incorrectly added 100 Hz a while back. It is really 1000 Hz with threading enabled, and 200 Hz with threading disabled (wasm)

@hoyosjs

hoyosjs commented Oct 14, 2026

Copy link
Copy Markdown
Member

Are those defaults set by the runtime or the tool? If runtime, then the help should just specify that it's the runtime default.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: d6960f81-0836-4d42-8d44-242452a8d1fb
@mdh1418

mdh1418 commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

/ba-g Failures are SOS tests failures unrelated to this PR

@mdh1418
mdh1418 merged commit 1d95e75 into dotnet:main Oct 16, 2026
22 of 24 checks passed
@mdh1418
mdh1418 deleted the mdh1418-sampling-frequency-correction branch October 16, 2026 16:16
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants