protected $trace = "Beginning trace: \n";
protected $memory = 0;
- protected function collateOnly() {
- return true;
- }
-
public function profileIn( $functionname ) {
parent::profileIn( $functionname );
protected $mCollated = array();
/** @var bool */
protected $mCollateDone = false;
- /** @var bool */
- protected $mCollateOnly = false;
+ /** @var bool Whether to collect the full stack trace or just aggregates */
+ protected $mCollateOnly = true;
/** @var array Cache of a standard broken collation entry */
protected $mErrorEntry;
public function __construct( array $params ) {
parent::__construct( $params );
- $this->mCollateOnly = $this->collateOnly();
-
$this->addInitialStack();
}
return false;
}
- /**
- * Whether to internally just track aggregates and ignore the full stack trace
- *
- * Only doing collation saves memory overhead but limits the use of certain
- * features like that of graph generation for the debug toolbar.
- *
- * @return bool
- */
- protected function collateOnly() {
- return false;
- }
-
/**
* Add the inital item in the stack.
*/