\Phug\Renderer\ProfilerProfile

Summary

Methods
Properties
Constants
__construct()
compose()
render()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getDuration()
getProcesses()
calculateIndex()
$startTime
$initialMemoryUsage
$events
$nodesRegister
$eventDump
$parameters
N/A

Properties

$startTime

$startTime : integer

Type

integer

$initialMemoryUsage

$initialMemoryUsage : integer

Type

integer

$nodesRegister

$nodesRegister : \SplObjectStorage

Type

\SplObjectStorage

$eventDump

$eventDump : callable

Type

callable

$parameters

$parameters : array

Type

array

Methods

__construct()

__construct(\Phug\Renderer\Profiler\EventList  $events, \SplObjectStorage  $nodesRegister,   $startTime,   $initialMemoryUsage,   $eventDump) 

Parameters

\Phug\Renderer\Profiler\EventList $events
\SplObjectStorage $nodesRegister
$startTime
$initialMemoryUsage
$eventDump

compose()

compose(  $timePrecision,   $lineHeight) 

Parameters

$timePrecision
$lineHeight

render()

render() 

getDuration()

getDuration(  $time,   $precision = 3) 

Parameters

$time
$precision

getProcesses()

getProcesses(  $list,   $link,   $index,   $duration,   $maxSpace,   $lineHeight,   $timePrecision) 

Parameters

$list
$link
$index
$duration
$maxSpace
$lineHeight
$timePrecision

calculateIndex()

calculateIndex(  $lines,   $min,   $max) 

Parameters

$lines
$min
$max