summaryrefslogtreecommitdiff
path: root/src/pal/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-09-22 18:31:09 -0700
committerGitHub <noreply@github.com>2019-09-22 18:31:09 -0700
commit281a383d913e7b6013068ec430fc21cf81f43350 (patch)
treea26e240be911f5b47d8a1cf0c3e3bb326aaf3a51 /src/pal/src
parent0fca8289590b2eb45511345232f67e38118ba1e8 (diff)
downloadcoreclr-281a383d913e7b6013068ec430fc21cf81f43350.tar.gz
coreclr-281a383d913e7b6013068ec430fc21cf81f43350.tar.bz2
coreclr-281a383d913e7b6013068ec430fc21cf81f43350.zip
Do not clip CPU count when CPU quota is used. (#26153) (#26806)
Diffstat (limited to 'src/pal/src')
-rw-r--r--src/pal/src/thread/process.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pal/src/thread/process.cpp b/src/pal/src/thread/process.cpp
index 1ce2cda59f..4f9d318bef 100644
--- a/src/pal/src/thread/process.cpp
+++ b/src/pal/src/thread/process.cpp
@@ -2558,12 +2558,6 @@ PAL_GetCPUBusyTime(
{
return 0;
}
-
- UINT cpuLimit;
- if (PAL_GetCpuLimit(&cpuLimit) && cpuLimit < dwNumberOfProcessors)
- {
- dwNumberOfProcessors = cpuLimit;
- }
}
if (getrusage(RUSAGE_SELF, &resUsage) == -1)