Point
class Point implements PointInterface (View source)
Class ProfilerItem
Methods
__construct(string $name, float $timing = 0.0, integer $memory, mixed $data = array())
Constructor.
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.
getData()
Method to get property Data
Details
at line line 56
__construct(string $name, float $timing = 0.0, integer $memory, mixed $data = array())
Constructor.
at line line 73
static Point
current(string $name, mixed $data = array())
Create a point of current information.
at line line 83
string
getName()
Get the name of this profile point.
at line line 94
float
getTime()
Get the elapsed time in seconds since the first point in the profiler it belongs to was marked.
at line line 107
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.
at line line 117
CollectorInterface
getData()
Method to get property Data
at line line 129
Point
setData(array|CollectorInterface $data)
Method to set property data