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
MemoryMeasurement
toKiloBytes
PhpunitMemoryAndTimeUsageListener\Domain\Measurement\MemoryMeasurement::toKiloBytes PHP Method
MemoryMeasurement Class Documentation
Show file
Open project: atrapalo/phpunit-memory-and-time-usage-listener
toKiloBytes()
protected
method
protected
toKiloBytes
(
$bytes
) :
float
$bytes
return
float
protected function toKiloBytes($bytes) { return (double) round($bytes / 1024, 2); }
MemoryMeasurement
__construct
measurementUnit
memoryInKiloBytes
toKiloBytes