pgb_liv\php_ms\Search\Parameters\MsgfPlusSearchParameters::setNumOfThreads
(Number of concurrent threads to be executed, Default: Number of available cores)
Number of concurrent threads to be executed together. Default value is the number of available logical cores (e.g. 8 for quad-core processor with hyper-threading support).
Signature
public function setNumOfThreads(int
$threadCount )
Parameters
$threadCount
— int
Number of concurrent threads to be executed
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MsgfPlusSearchParametersTest::testCanGetSetValidNumOfThreads
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MsgfPlusSearchParametersTest::testCanGetSetInvalidNumOfThreads