execute.php 542 B

123456789101112131415161718192021
  1. #!/usr/bin/env php
  2. <?php
  3. /*
  4. * This file is part of the Fidry CPUCounter Config package.
  5. *
  6. * (c) Théo FIDRY <theo.fidry@gmail.com>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. declare(strict_types=1);
  12. use Fidry\CpuCoreCounter\Diagnoser;
  13. use Fidry\CpuCoreCounter\Finder\FinderRegistry;
  14. require_once __DIR__.'/../vendor/autoload.php';
  15. echo 'Executing finders...'.PHP_EOL.PHP_EOL;
  16. echo Diagnoser::execute(FinderRegistry::getAllVariants()).PHP_EOL;