|
|
NAMELogFile::Processor - Perl module for processing profiling data obtained from a run of an executable of the OpenOffice family.
SYNOPSIS
use LogFile::Processor;
# Obtain the profiling data via module LogFileParser.
my $thread_data_list = ...
# Process the data set of each thread.
my @data_table = ();
foreach my $thread_data (@$thread_data_list)
{
# Calculate the length of time that each function/scope of the
# profiled program has taken.
calc_lengths ($thread_data);
# Transform into a data table that is writable to XML.
push @data_table, create_simple_table ($thread_data);
# Create a list with time totals for every function/scope.
push @data_table, create_total_list ($thread_data);
}
# write @data_table to XML file via module XML_Writer.
DESCRIPTIONThe functions in this package have the purpose to process the raw profiling data obtained from a run of an executable of the OpenOffice family.
|


