dual core rendering lmao

perf-debug
nyanpasu64 2023-11-28 12:56:16 -08:00
rodzic 5e4a32f7f7
commit eeb3302741
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -720,7 +720,7 @@ class CorrScope:
# and have substantially higher jitter) when we spawn one per
# hyper-thread rather than one per core.
ncores = psutil.cpu_count(logical=False)
return ncores
return min(ncores, 2)
nthread = _nthread()