ProfilePoint
Implements ProfilePointInterfaceImplementation of ProfilePointInterface.
| since |
1.0 |
|---|---|
| package |
Joomla Framework |
Methods
__construct
Constructor.
__construct( name, time = 0.0, memoryBytes) :
| 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() :
| 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() :
| since |
1.0 |
|---|
Response
intThe amount of allocated memory in MB.
getName
Get the name of this profile point.
getName() :
| 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() :
| 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