Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report ThreadPool stats #938

Closed
bruno-garcia opened this issue Apr 14, 2021 · 0 comments · Fixed by #1399
Closed

Report ThreadPool stats #938

bruno-garcia opened this issue Apr 14, 2021 · 0 comments · Fixed by #1399
Labels
Feature New feature or request Up-For-Grabs

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Apr 14, 2021

At least:

SetMinThreads(Int32, Int32)
GetMaxThreads(Int32, Int32)
GetAvailableThreads(Int32, Int32)

Other useful data easy to include are: GC (server/workstation), current used mem etc:

GetTotalMemory

Retrieves the number of bytes currently thought to be allocated. A parameter indicates whether this method can wait a short interval before returning, to allow the system to collect garbage and finalize objects.

GetTotalAllocatedBytes

Gets a count of the bytes allocated over the lifetime of the process.

MaxGeneration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Up-For-Grabs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants