HeaderDoc::PerfPoint

Declared In:

Introduction

Performance testing data structure.

Discussion

The PerfPoint class stores performance data for a single checkpoint, for use by the PerfEngine class.



Member Functions

_initialize

Initializes an instance of a PerfPoint object.

finished

Marks this checkpoint finished and records the elapsed time.

new

Creates a new PerfPoint object.


_initialize


Initializes an instance of a PerfPoint object.

Parameters
self

The object to initialize.


finished


Marks this checkpoint finished and records the elapsed time.

sub finished 
Parameters
self

The PerfPoint object.


new


Creates a new PerfPoint object.

sub new 
Parameters
param

A reference to the relevant package object (e.g. HeaderDoc::PerfPoint->new() to allocate a new instance of this class).


Member Data

BACKTRACE

The backtrace for the start of this test point. Used to match it upon seeing an end call.

FINISHSEC

The time of day (in seconds) when this point ended.

FINISHUSEC

The microsecond part of the time of day when this point ended.

HeaderDoc::PerfPoint::VERSION

The revision control revision number for this module.

SECS

The number of seconds this execution took.

STARTSEC

The time of day (in seconds) when this point was started.

STARTUSEC

The microsecond part of the time of day when this point was started.

USECS

The number of microseconds this execution took (minus the seconds).


BACKTRACE


The backtrace for the start of this test point. Used to match it upon seeing an end call.

$self->{BACKTRACE}

FINISHSEC


The time of day (in seconds) when this point ended.

$self->{FINISHSEC}

FINISHUSEC


The microsecond part of the time of day when this point ended.

$self->{FINISHUSEC}

HeaderDoc::PerfPoint::VERSION


The revision control revision number for this module.

$HeaderDoc::PerfPoint::VERSION = '$Revision: 1310076910 $';  
Discussion

In the git repository, contains the number of seconds since January 1, 1970.


SECS


The number of seconds this execution took.

$self->{SECS}

STARTSEC


The time of day (in seconds) when this point was started.

$self->{STARTSEC}

STARTUSEC


The microsecond part of the time of day when this point was started.

$self->{STARTUSEC}

USECS


The number of microseconds this execution took (minus the seconds).

$self->{USECS}