PHP Class Webgrind_Preprocessor, webgrind

Information from the callgrind file is extracted and written in a binary format for fast random access.
See also: https://github.com/jokkedk/webgrind/wiki/Preprocessed-Format
See also: http://valgrind.org/docs/manual/cl-format.html
Author: Jacob Oettinger
Afficher le fichier Open project: jokkedk/webgrind Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

binaryParse() static public méthode

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
Résultat boolean True if binary preprocessor was executed

getCompressedName() static public méthode

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)
Résultat void

parse() static public méthode

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
Résultat void