ProfilePoint

Implements \Joomla\Profiler\ProfilePointInterface

Implementation of ProfilePointInterface.

since

1.0

Methods

__construct

Constructor.

__construct(string $name, float $time = 0.0, integer $memoryBytes) 
since

1.0

Arguments

$name

stringThe point name.

$time

floatThe time in seconds.

$memoryBytes

integerThe allocated amount of memory in bytes

getMemoryBytes

Get the allocated amount of memory in bytes since the first point in the profiler it belongs to was marked.

getMemoryBytes() : integer
since

1.0

Response

integerThe amount of allocated memory in B.

getMemoryMegaBytes

Get the allocated amount of memory in mega bytes since the first point in the profiler it belongs to was marked.

getMemoryMegaBytes() : integer
since

1.0

Response

integerThe amount of allocated memory in MB.

getName

Get the name of this profile point.

getName() : string
since

1.0

Response

stringThe name of this profile point.

getTime

Get the elapsed time in seconds since the first point in the profiler it belongs to was marked.

getTime() : float
since

1.0

Response

floatThe time in seconds.

Properties

name

The profile point name.

since

1.0

Type(s)

string

time

The elapsed time in seconds since the first point in the profiler it belongs to was marked.

since

1.0

Type(s)

float

memoryBytes

The allocated amount of memory in bytes since the first point in the profiler it belongs to was marked.

since

1.0

Type(s)

integer