/opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Event/Value/Telemetry
NameSizeModeActions
Duration.php35430644editdlrm
GarbageCollectorStatus.php47760644editdlrm
GarbageCollectorStatusProvider.php5970644editdlrm
HRTime.php25980644editdlrm
Info.php23690644editdlrm
MemoryMeter.php6250644editdlrm
MemoryUsage.php8700644editdlrm
Php81GarbageCollectorStatusProvider.php10610644editdlrm
Php83GarbageCollectorStatusProvider.php11760644editdlrm
Snapshot.php14410644editdlrm
StopWatch.php5610644editdlrm
System.php13460644editdlrm
SystemMemoryMeter.php8730644editdlrm
SystemStopWatch.php7820644editdlrm
SystemStopWatchWithOffset.php10920644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/phpunit/phpunit/src/Event/Value/Telemetry/System.php (1346B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPUnit\Event\Telemetry; /** * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit * * @internal This class is not covered by the backward compatibility promise for PHPUnit */ final class System { private readonly StopWatch $stopWatch; private readonly MemoryMeter $memoryMeter; private readonly GarbageCollectorStatusProvider $garbageCollectorStatusProvider; public function __construct(StopWatch $stopWatch, MemoryMeter $memoryMeter, GarbageCollectorStatusProvider $garbageCollectorStatusProvider) { $this->stopWatch = $stopWatch; $this->memoryMeter = $memoryMeter; $this->garbageCollectorStatusProvider = $garbageCollectorStatusProvider; } public function snapshot(): Snapshot { return new Snapshot( $this->stopWatch->current(), $this->memoryMeter->memoryUsage(), $this->memoryMeter->peakMemoryUsage(), $this->garbageCollectorStatusProvider->status(), ); } }