Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PhpunitMemoryAndTimeUsageListener
Domain
Measurement
TimeMeasurement
toMilliseconds
PhpunitMemoryAndTimeUsageListener\Domain\Measurement\TimeMeasurement::toMilliseconds PHP Method
TimeMeasurement Class Documentation
Show file
Open project: atrapalo/phpunit-memory-and-time-usage-listener
toMilliseconds()
protected
method
Convert \PHPUnit's reported test time (microseconds) to milliseconds.
protected
toMilliseconds
(
float
$time
) :
integer
$time
float
return
integer
protected function toMilliseconds($time) { return (int) round($time * 1000); }
TimeMeasurement
__construct
measurementUnit
timeInMilliseconds
toMilliseconds