You are here

public function Symbol::__construct in XHProf 8

Parameters

$parent_child:

$ct:

$wt:

$cpu:

$mu:

$pmu:

File

src/XHProfLib/Symbol/Symbol.php, line 53

Class

Symbol
Provides a value object for single span of profiling.

Namespace

Drupal\xhprof\XHProfLib\Symbol

Code

public function __construct($parent_child, $ct, $wt, $cpu = NULL, $mu = NULL, $pmu = NULL) {
  $this->ct = $ct;
  $this->wt = $wt;
  $this->cpu = $cpu;
  $this->mu = $mu;
  $this->pmu = $pmu;
  list($this->parent, $this->child) = $this
    ->parseParentChild($parent_child);
}