|
NAMETest::Parser::SysbenchFileIO - Perl module to parse output from Sysbench --test=fileio SYNOPSIS use Test::Parser::SysbenchFileIO;
my $parser = new Test::Parser::SysbenchFileIO;
$parser->parse($text);
$parser->to_xml();
Additional information is available from the subroutines listed below and from the Test::Parser baseclass. DESCRIPTIONThis module provides a way to parse and neatly display information gained from the Sysbench FileIO test. This module will parse the output given by this command and commands similar to it: `sysbench --test=fileio > fileio.output` The fileio.output contains the necessary information that SysbenchFileIO is able to parse. FUNCTIONSAlso see Test::Parser for functions available from the base class. new() Purpose: Create a new Test::Parser::SysbenchFileIO instance
Input: None
Output: SysbenchFileIO object
data() Purpose: Return a hash representation of the Sysbench data
Input: None
Output: SysbenchFileIO data
parse_line() Purpose: Parse Sysbench --test=fileio log files. This method override's the default parse_line() of Test::Parser
Input: String (one line of log file)
Output: 1
AUTHORJohn Daiker <daikerjohn@gmail.com> COPYRIGHTCopyright (C) 2006 John Daiker & Open Source Development Labs, Inc. All Rights Reserved. This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSOTest::Parser POD ERRORSHey! The above document had some coding errors, which are explained below:
|