PHP Класс Webgrind_Preprocessor, webgrind

Information from the callgrind file is extracted and written in a binary format for fast random access.
См. также: https://github.com/jokkedk/webgrind/wiki/Preprocessed-Format
См. также: http://valgrind.org/docs/manual/cl-format.html
Автор: Jacob Oettinger
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
binaryParse ( string $inFile, string $outFile ) : boolean Extract information from $inFile and store in preprocessed form in $outFile using the (~20x) faster binary preprocessor
getCompressedName ( string $name, integer $isFile ) : void Extract information from $inFile and store in preprocessed form in $outFile
parse ( string $inFile, string $outFile ) : void Extract information from $inFile and store in preprocessed form in $outFile

Описание методов

binaryParse() статический публичный Метод

Extract information from $inFile and store in preprocessed form in $outFile using the (~20x) faster binary preprocessor
static public binaryParse ( string $inFile, string $outFile ) : boolean
$inFile string Callgrind file to read
$outFile string File to write preprocessed data to
Результат boolean True if binary preprocessor was executed

getCompressedName() статический публичный Метод

Extract information from $inFile and store in preprocessed form in $outFile
static public getCompressedName ( string $name, integer $isFile ) : void
$name string String to parse (either a filename or function name line)
$isFile integer True if this is a filename line (since files and functions have their own symbol tables)
Результат void

parse() статический публичный Метод

Extract information from $inFile and store in preprocessed form in $outFile
static public parse ( string $inFile, string $outFile ) : void
$inFile string Callgrind file to read
$outFile string File to write preprocessed data to
Результат void