ProfilePointInterface

Interface for profile points.

A Profile point belongs to a ProfilerInterface and the values it holds (time and memory) are relative to the values of the first marked point in that profiler.

since

1.0

package

Joomla Framework

Methods

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.