-
Notifications
You must be signed in to change notification settings - Fork 155
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
go test -cpu #69
Comments
You should be able to write that type of tool yourself fairly easily using this library. Use automaxprocs/maxprocs package to retrieve the cgroup limit and just print that to the console. |
Thank for your response.
I know but I hoped that just do Thank again. |
I want define number of cpu for
go test
via-cpu
.Is it possible to expose this library directly also as tool (with main package) that shows CPU quota in order to use it for testing?
For example, I want to do something like that:
The text was updated successfully, but these errors were encountered: