TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor Class Reference
Inheritance diagram for TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor:
TYPO3\CMS\Core\Log\Processor\AbstractProcessor TYPO3\CMS\Core\Log\Processor\ProcessorInterface TYPO3\CMS\Core\Log\Processor\MemoryPeakUsageProcessor TYPO3\CMS\Core\Log\Processor\MemoryUsageProcessor

Public Member Functions

 setRealMemoryUsage ($realMemoryUsage)
 
 getRealMemoryUsage ()
 
 setFormatSize ($formatSize)
 
 getFormatSize ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Log\Processor\AbstractProcessor
 __construct (array $options=array())
 
- Public Member Functions inherited from TYPO3\CMS\Core\Log\Processor\ProcessorInterface
 processLogRecord (\TYPO3\CMS\Core\Log\LogRecord $logRecord)
 

Protected Attributes

 $realMemoryUsage = TRUE
 
 $formatSize = TRUE
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Common memory processor methods.

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org
Steffen Müller typo3.nosp@m.@t3n.nosp@m.ode.c.nosp@m.om

Definition at line 22 of file AbstractMemoryProcessor.php.

Member Function Documentation

◆ getFormatSize()

TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor::getFormatSize ( )

Returns whether size should be formatted

Returns
boolean

Definition at line 77 of file AbstractMemoryProcessor.php.

References TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor\$formatSize.

◆ getRealMemoryUsage()

TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor::getRealMemoryUsage ( )

◆ setFormatSize()

TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor::setFormatSize (   $formatSize)

Sets whether size should be formatted

Parameters
boolean$formatSize
Returns
void

Definition at line 68 of file AbstractMemoryProcessor.php.

References TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor\$formatSize.

◆ setRealMemoryUsage()

TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor::setRealMemoryUsage (   $realMemoryUsage)

Sets the allocated memory usage type

Parameters
boolean$realMemoryUsageWhich allocated memory type to use
Returns
void

Definition at line 49 of file AbstractMemoryProcessor.php.

References TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor\$realMemoryUsage.

Member Data Documentation

◆ $formatSize

TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor::$formatSize = TRUE
protected

◆ $realMemoryUsage

TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor::$realMemoryUsage = TRUE
protected