• Модуль: perfmon
  • Путь к файлу: ~/bitrix/modules/perfmon/classes/general/measure.php
  • Класс: CPerfAccelZendOpCache
  • Вызов: CPerfAccelZendOpCache::__construct
function __construct()
{
	$memory = [
		"memorySize" => intval(ini_get('opcache.memory_consumption')) * 1024 * 1024,
		"memoryAllocated" => -1,
	];

	parent::__construct(
		ini_get('opcache.enable') != "0",
		-1,
		-1,
		ini_get('opcache.validate_timestamps') != "0",
		$memory["memorySize"],
		$memory["memoryAllocated"],
		-1
	);
}