diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-09-22 18:31:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-22 18:31:09 -0700 |
commit | 281a383d913e7b6013068ec430fc21cf81f43350 (patch) | |
tree | a26e240be911f5b47d8a1cf0c3e3bb326aaf3a51 /src/pal | |
parent | 0fca8289590b2eb45511345232f67e38118ba1e8 (diff) | |
download | coreclr-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')
-rw-r--r-- | src/pal/src/thread/process.cpp | 6 |
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) |