Test::Parser::SysbenchCPU.3pm

Langue: en

Version: 2008-02-27 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Test::Parser::SysbenchCPU - Perl module to parse output from Sysbench --test=cpu

SYNOPSIS

     use Test::Parser::SysbenchCPU;
     my $parser = new Test::Parser::SysbenchCPU;
     $parser->parse($text);
     
     $parser->to_xml();
 
 

Additional information is available from the subroutines listed below and from the Test::Parser baseclass.

DESCRIPTION

This module provides a way to parse and neatly display information gained from the Sysbench CPU test. This module will parse the output given by this command and command similar to it: `sysbench --test=cpu > cpu.output` The cpu.output contains the necessary information that SysbenchCPU is able to parse.

FUNCTIONS

See Test::Parser for functions available from the base class.

new()

         Purpose: Create a new Test::Parser::SysbenchCPU instance
         Input: None
         Output: SysbenchCPU object
 
 

data()

         Purpose: Return a hash representation of the Sysbench data
         Input: None
         Output: SysbenchCPU data
 
 

parse_line()

         Purpose: Parse Sysbench --test=cpu log files.  This method override's the default parse_line() of Test::Parser
         Input: String (one line of log file)
         Output: 1
 
 

AUTHOR

John Daiker <daikerjohn@gmail.com> Copyright (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 ALSO

Test::Parser

POD ERRORS

Hey! The above document had some coding errors, which are explained below:
Around line 247:
'=end' without a target?