Open istudies opened 1 year ago
getCGroupCPUCore()
WithCGroup()
WithGoProcAsCPUCore()
LGTM
@doujiang24
getCGroupCPUCore()
to return the number of CPU cores when the value cannot be obtained.WithCGroup()
andWithGoProcAsCPUCore()
together, andWithCGroup()
has a higher priority.