interface PointInterface (View source)

Interface PointInterface

Methods

string
getName()

Get the name of this profile point.

float
getTime()

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

integer
getMemory(bool $megaBytes = false)

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

Details

at line line 23
string getName()

Get the name of this profile point.

Return Value

string The name of this profile point.

at line line 31
float getTime()

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

Return Value

float The time in seconds.

at line line 41
integer getMemory(bool $megaBytes = false)

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

Parameters

bool $megaBytes

Return Value

integer The amount of allocated memory in B.

at line line 48
CollectorInterface getData()

getData

Return Value

CollectorInterface