This commit is contained in:
nuno maduro
2026-05-02 17:11:49 +01:00
parent 1c7c9754fd
commit f247dd8e7b
4 changed files with 0 additions and 264 deletions

View File

@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace Pest\Support;
use Fidry\CpuCoreCounter\CpuCoreCounter;
/**
* @internal
*/
final class Cpu
{
/**
* @param int<1, max> $fallback
*/
public static function cores(int $fallback = 4): int
{
return (new CpuCoreCounter)->getCountWithFallback($fallback);
}
}