ProfilePoint

Implements ProfilePointInterface

Implementation of ProfilePointInterface.

since

1.0

package

Joomla Framework

Methods

__construct

Constructor.

__construct(string name, float time = 0.0, int memoryBytes) : mixed
since

1.0

Arguments

name

stringThe point name.

time

floatThe time in seconds.

memoryBytes

intThe allocated amount of memory in bytes

Response

mixed

getMemoryBytes

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

getMemoryBytes() : int
since

1.0

Response

intThe 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() : int
since

1.0

Response

intThe 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)

int