cpu-core-counter
No description available.
File Explorer
Download Latest Version (.zip)- inspection.yaml
- integration.yaml
- CODE_OF_CONDUCT.md
- dependabot.yml
- FUNDING.yml
- install-phive
- phars.xml
- diagnose.php
- execute.php
- trace.php
- execute-finders.php
- expected-output-osx
- expected-output-ubuntu
- expected-output-ubuntu-restricted
- expected-output-windows
- test-finders.sh
- test-restricted-finders.sh
- ProcessExecutor.php
- ProcOpenExecutor.php
- _NProcessorFinder.php
- CmiCmdletLogicalFinder.php
- CmiCmdletPhysicalFinder.php
- CpuCoreFinder.php
- CpuInfoFinder.php
- DummyCpuCoreFinder.php
- EnvVariableFinder.php
- FinderRegistry.php
- HwLogicalFinder.php
- HwPhysicalFinder.php
- LscpuLogicalFinder.php
- LscpuPhysicalFinder.php
- NProcessorFinder.php
- NProcFinder.php
- NullCpuCoreFinder.php
- OnlyInPowerShellFinder.php
- OnlyOnOSFamilyFinder.php
- ProcOpenBasedFinder.php
- SkipOnOSFamilyFinder.php
- WindowsRegistryLogicalFinder.php
- WmicLogicalFinder.php
- WmicPhysicalFinder.php
- CpuCoreCounter.php
- Diagnoser.php
- NumberOfCpuCoreNotFound.php
- ParallelisationResult.php
- BaseMakefileTestCase.php
- MakefileTest.php
- TODO
- DummyExecutor.php
- ProcOpenExecutorTest.php
- _NProcessorFinderTest.php
- CmiCmdletLogicalFinderTest.php
- CmiCmdletPhysicalFinderTest.php
- CpuInfoFinderTest.php
- DummyCpuCoreFinderTest.php
- DummyProcOpenBasedFinder.php
- DynamicNameFinder.php
- EnvVariableFinderTest.php
- FakeFinder.php
- FinderShortClassName.php
- FinderShortClassNameTest.php
- HwLogicalFinderTest.php
- HwPhysicalFinderTest.php
- LscpuLogicalFinderTest.php
- LscpuPhysicalFinderTest.php
- NProcessorFinderTest.php
- NProcFinderTest.php
- NullCpuCoreFinderTest.php
- OnlyOnOSFamilyFinderTest.php
- ProcOpenBasedFinderTest.php
- ProcOpenBasedFinderTestCase.php
- SkipOnOSFamilyFinderTest.php
- WindowsRegistryLogicalFinderTest.php
- WmicLogicalFinderTest.php
- WmicPhysicalFinderTest.php
- AvailableCpuCoresScenario.php
- bootstrap.php
- CpuCoreCounterTest.php
- DiagnoserTest.php
- .editorconfig
- .envrc
- .gitattributes
- .gitignore
- .php-cs-fixer.php
- .yamllint.yaml
- composer.json
- infection.json5
- LICENSE.md
- Makefile
- phpstan.src.neon
- phpstan.tests.neon
- phpunit.xml.dist
- phpunit_legacy.xml.dist
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/theofidry/cpu-core-counter
Downloads the entire project code from GitHub to your computer.
cd cpu-core-counter
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
composer require fidry/cpu-core-counter
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make diagnose # From this repository
Compiles the code based on the generated build configuration to produce an executable.
make execute # From this repository
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
