Class org.as2lib.test.speed.AbstractTestResult

org.as2lib.core.BasicClass
   +--org.as2lib.test.speed.AbstractTestResult

Description

AbstractTestResult provides implementations of methods needed by implementations of the TestResult interface.

Method Index

getTimePercentage()

Inherited from BasicClass

toString()

Method Detail

getTimePercentage

public function getTimePercentage(totalTime:Number):Number

Returns the invocation time as percentage in relation to the passed-in totalTime.

Parameters

totalTimethe total time to calculate the percentage with

Return

the invocation time as percentage