Info
in package
FinalYes
Tags
Table of Contents
Properties
- $current : Snapshot
- $durationSincePrevious : Duration
- $durationSinceStart : Duration
- $memorySincePrevious : MemoryUsage
- $memorySinceStart : MemoryUsage
Methods
- __construct() : mixed
- asString() : string
- durationSincePrevious() : Duration
- durationSinceStart() : Duration
- garbageCollectorStatus() : GarbageCollectorStatus
- memoryUsage() : MemoryUsage
- memoryUsageSincePrevious() : MemoryUsage
- memoryUsageSinceStart() : MemoryUsage
- peakMemoryUsage() : MemoryUsage
- time() : HRTime
Properties
$current read-only
private
Snapshot
$current
$durationSincePrevious read-only
private
Duration
$durationSincePrevious
$durationSinceStart read-only
private
Duration
$durationSinceStart
$memorySincePrevious read-only
private
MemoryUsage
$memorySincePrevious
$memorySinceStart read-only
private
MemoryUsage
$memorySinceStart
Methods
__construct()
public
__construct(Snapshot $current, Duration $durationSinceStart, MemoryUsage $memorySinceStart, Duration $durationSincePrevious, MemoryUsage $memorySincePrevious) : mixed
Parameters
- $current : Snapshot
- $durationSinceStart : Duration
- $memorySinceStart : MemoryUsage
- $durationSincePrevious : Duration
- $memorySincePrevious : MemoryUsage
asString()
public
asString() : string
Return values
stringdurationSincePrevious()
public
durationSincePrevious() : Duration
Return values
DurationdurationSinceStart()
public
durationSinceStart() : Duration
Return values
DurationgarbageCollectorStatus()
public
garbageCollectorStatus() : GarbageCollectorStatus
Return values
GarbageCollectorStatusmemoryUsage()
public
memoryUsage() : MemoryUsage
Return values
MemoryUsagememoryUsageSincePrevious()
public
memoryUsageSincePrevious() : MemoryUsage
Return values
MemoryUsagememoryUsageSinceStart()
public
memoryUsageSinceStart() : MemoryUsage
Return values
MemoryUsagepeakMemoryUsage()
public
peakMemoryUsage() : MemoryUsage
Return values
MemoryUsagetime()
public
time() : HRTime