Skip to content

Commit

Permalink
Add docs for Nproc (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Dec 7, 2022
1 parent df1f05d commit b57c631
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NProcFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
use const FILTER_VALIDATE_INT;

/**
* The number of processing units available. Usually matches the number of
* logical cores.
*
* @see https://github.com/infection/infection/blob/fbd8c44/src/Resource/Processor/CpuCoresCountProvider.php#L69-L82
* @see https://unix.stackexchange.com/questions/146051/number-of-processors-in-proc-cpuinfo
*/
Expand Down

0 comments on commit b57c631

Please sign in to comment.